ComponentOne CalendarView for WinForms
C1TextBox Class Members
Properties  Methods  Events

C1.Win.C1Input Namespace : C1TextBox Class

The following tables list the members exposed by C1TextBox.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the C1TextBox class.  
Top
Public Properties
 NameDescription
Public PropertyIndicates if the Escape key that cancels modified value is handled by the control without passing it to the owner form (AcceptsEscape=True), or it is then passed to the form and can close it if the form has CancelButton (AcceptsEscape=False).  
Public Property (Inherited from System.Windows.Forms.TextBox)
Public PropertyIndicates if Tab and Shift+Tab keys are accepted by control and move the focus to the next (previous) group of input characters in edit mask and in DateTimeInput mode.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets a value indicating whether the position of the character is automatically changed  
Public Property (Inherited from System.Windows.Forms.TextBox)
Public Property (Inherited from System.Windows.Forms.TextBox)
Public Property (Inherited from System.Windows.Forms.TextBox)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.  
Public Property  
Public PropertyThis method is for internal use only.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the border color of the control.  
Public Property  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyCalendar, used to format date.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyTrue if string comparisons are case-sensitive; otherwise, False. Default: False  
Public PropertyGets or sets a value indicating whether the control causes validation (i.e. calls Validated and Validating events)  
Public Property (Inherited from System.Windows.Forms.TextBox)
Public PropertyDefines rules to filter keyboard input.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.ComponentModel.Component)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyThe culture ID.  
Public PropertyThe current CultureInfo object (available at runtime).  
Public PropertyThe name selected for the Culture property in the Properties grid  
Public PropertyIf True, the control’s stored Value is in current time zone; otherwise, the Value is adjusted to the time zone defined by the GMTOffset property  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyCustom format specifier used if FormatType = FormatTypeEnum.CustomFormat.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyThe field of the data source object to which the control is bound.  
Public PropertyThe data source object to which the control is bound.  
Public PropertyType of the Value property.  
Public PropertyWhether or not a special edit mode is applied to DateTime values.  
Public PropertyThe value specified in the GMTOffset property can be advanced or set back due to daylight-saving time changes. Default: NoAdjustments.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the foreground color of the disabled control.  
Public PropertyGets or sets whether the text box should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0.  
Public PropertyFormat used to display the value when the control is not in edit mode (does not have input focus or is read-only).  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyFormat used to display the value when the control is in edit mode (has input focus and is not read-only).  
Public PropertyThe edit mask string restricting user input.  
Public PropertyReturns True, if the control has input focus and TextDetached = False.  
Public PropertyIf True, empty strings are interpreted as null values (DBNull).  
Public PropertyGets or sets a value indicating whether the control can respond to user interaction.  
Public PropertySettings affecting error handling in the control.  
Public PropertyGets or sets whether the next control in the tab order receives the focus as soon as the control is filled at the last character.  
Public PropertyGets or sets whether the focus automatically moves to the previous or next control in the tab order when pressing the left or right arrow keys.  
Public Propertystatic (Shared in Visual Basic)Makes Fixed3D borders old-style looking (flat) for System VisualStyle. This property is only for compatibility with legacy applications only.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property  
Public PropertyEnumeration value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting.  
Public PropertyThe time zone of the Value property used if CurrentTimeZone = False.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyDetermines the selection position when a control receives input focus. Default: InitialSelectionEnum.SelectAll.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyLabel control associated with this input field.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyThe lines of text in a multiline control.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets a value indicating whether the position of the caret is automatically moved to the first field when the last field is filled.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the spacing between the input control content and its edges, in pixels. Default: all margins are set to 0.  
Public PropertyDraws a red dotted line if Value is empty.  
Public PropertyEdit mask settings.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the maximum number of characters or bytes that the control can hold.  
Public PropertyGets or sets whether the maximum number of characters that fit in the control are handled based on bytes, characters, or text elements.  
Public PropertyGets or sets the maximum number of lines.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyThe minimum year that can be entered without leading zeros.  
Public PropertyGets or sets a value that indicates that the control has been modified by the user since the control received the input focus or its Value last set.  
Public PropertyOverridden. Gets or sets a value indicating whether this is a multiline text box control.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the foreground color of the control which contains negative value.  
Public PropertyString representing a DBNull value.  
Public PropertySets or gets a value indicating whether a special edit mode is used for numeric values.  
Public PropertyEnables/disables the special keys used when NumericInput = True. Default: NumericInputKeyFlags.Standard.  
Public Property  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertySettings affecting parsing, that is, converting the string entered by the user to the data type.  
Public Property (Inherited from System.Windows.Forms.TextBox)
Public PropertyValidation rules applied after parsing, that is, after converting the string entered by the user to the DataType (typed validation).  
Public Property  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyValidation rules applied before parsing, that is, before converting the string entered by the user to the DataType (raw string validation).  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.TextBox)
Public PropertyOverridden. Gets or sets a value indicating the currently selected text in the control.  
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public PropertySpecifies whether the context menu can be displayed for the control.  
Public PropertySpecifies whether a focus rectangle should be displayed around the client area when the control has the input focus.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the object that contains data about the control  
Public PropertyOverridden. Gets or sets the text associated with this control.  
Public Property (Inherited from System.Windows.Forms.TextBox)
Public PropertySpecifies whether the Value and Text properties can be set independently.  
Public PropertyOverridden. Gets the length of text in the control.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyIf True, trailing spaces are removed.  
Public PropertyIf True, leading spaces are removed.  
Public PropertyIndicates whether to honor the ColumnStyle properties defined on the C1ViewColumn object that this control is bound to.  
Public PropertyIf True, current user regional settings override the selected culture.  
Public Property (Inherited from System.Windows.Forms.TextBox)
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the current DataType representation of the visual information contained in the control.  
Public PropertyAllows backward compatibility with the old behavior, when the ValueChanged event previously fired on any text change.  
Public PropertyGets or sets a value indicating whether the Value is DBNull.  
Public PropertyGets or sets the vertical alignment of the content in the control. The default is VerticalAlignEnum.Top.  
Public Property (Inherited from System.Windows.Forms.Control)
Public PropertyGets or sets the visual style of the control.  
Public Property (Inherited from System.Windows.Forms.Control)
Public Property (Inherited from System.Windows.Forms.TextBoxBase)
Public PropertyIf this property is False the month will be automatically incremented when the user spins the date past the end of the month. The same about other parts of the date/time value.  
Top
Public Methods
 NameDescription
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodChecks the result of the ParseContent method.  
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public MethodDecrements the currently selected field in DateTimeInput mode.  
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.ComponentModel.Component)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodIncrements the currently selected field in DateTimeInput mode.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodParses the Text string.  
Public MethodOverloaded.  (Inherited from System.Windows.Forms.TextBox)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodOverridden. Preprocesses keyboard or input messages within the message loop before they are dispatched.  
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodOverridden. Resets the System.Windows.Forms.Control.Text property to its default value.  
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodOverloaded.  (Inherited from System.Windows.Forms.Control)
Public MethodSets culture.  
Public MethodSets culture.  
Public MethodThis method works exactly as setting the Value property, except that it does not change the internal variable storing the value before editing, so the user can press Esc and restore the previous value. This method works only in edit mode. If the control is not in edit mode, this methods does nothing.  
Public Method (Inherited from System.Windows.Forms.Control)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodThis method temporarily disables numeric input mode  
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.TextBoxBase)
Public Method (Inherited from System.Windows.Forms.Control)
Public MethodTriggers parsing of the Text property and updating the Value.  
Public MethodValidates current Text property in the same manner as it usually validated after the control loses focus.  
Top
Public Events
 NameDescription
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs when Value is retrieved from the data source.  
Public EventOccurs when Value is stored in the data source.  
Public EventOccurs when the BorderColor property has changed.  
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventCultureInfo can be set up (on startup) or has been changed.  
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs when the DataType property changes.  
Public Event (Inherited from System.ComponentModel.Component)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs when the control receives data that cannot be formatted according to the current format and edit mask settings.  
Public EventOccurs after the value has been formatted.  
Public EventFormatting the value programmatically.  
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs when invalid character is in input.  
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs when the Margins property or one of the margins has changed.  
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs after the input string value has been converted to the DataType.  
Public EventProgrammatic parsing of the input string.  
Public EventOccurs after the typed value has been validated  
Public EventProgrammatic typed value validation.  
Public EventOccurs after the input string value has been validated.  
Public EventProgrammatic input string validation.  
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.TextBoxBase)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.TextBox)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public Event (Inherited from System.Windows.Forms.Control)
Public EventError occurred while parsing or validating the input string.  
Public EventOccurs when the Value changes.  
Public EventOccurs when the value of the VerticalAlign property has changed.  
Public Event (Inherited from System.Windows.Forms.Control)
Public EventOccurs when the VisualStyle property has changed.  
Top
See Also

Reference

C1TextBox Class
C1.Win.C1Input Namespace