[]
Represents the methods, events and properties of C1DropDownEditorBase class.
public interface IDropDownEditorBase : IDropDownControlBase
Name | Description |
---|---|
AcceptsEscape | Gets or sets a value indicates 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). |
AutoCompleteCustomSource | Gets or sets a custom StringCollection to use when the AutoCompleteSource property is set to CustomSource. |
AutoCompleteMode | Gets or sets an option that controls how automatic completion works for the TextBox. |
AutoCompleteSource | Gets or sets a value specifying the source of complete strings used for automatic completion. |
BorderStyle | Gets or sets the border type of the text box control. |
CanUndo | Gets a value indicating whether the user can undo the previous operation in a text box control. |
CaseSensitive | True if string comparisons are case-sensitive; otherwise, False. Default: False |
CharacterCasing | Gets or sets whether the TextBox control modifies the case of characters as they are typed. |
CultureInfo | Gets or sets the current CultureInfo object. |
CustomFormat | Custom format specifier used if FormatType = FormatTypeEnum.CustomFormat. |
DataType | Gets or sets the type of the Value property. |
DisableOnNoData | Gets or sets whether the text box should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0. |
DisplayFormat | Format used to display the value when the control is in display mode. |
DropDownStyle | Gets or sets the style of the combobox. |
EditFormat | Format used to display the value when the control is in edit mode (has input focus and is not read-only). |
EmptyAsNull | If True, empty strings are interpreted as null values (DBNull). |
ErrorInfo | Gets settings affecting error handling in the control. |
ExitOnLeftRightKey | Gets 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. |
FormatType | Enumeration value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting. |
HideSelection | Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. |
InitialSelection | Gets or sets a value determines the selection position when a control receives input focus. |
MarkEmpty | Gets or sets a value that indicates need draws a red dotted line if Value is empty or not. |
MaxLength | Gets or sets the maximum number of characters the user can type or paste into the text box control. |
MaxLengthUnit | Gets or sets whether the maximum number of characters that fit in the control are handled based on bytes, characters, or text elements. |
NullText | String representing a DBNull value. |
ParseInfo | Gets settings affecting parsing, that is, converting the string entered by the user to the data type. |
PasswordChar | Gets or sets the character used to mask characters of a password in a single-line TextBox control. |
Placeholder | Gets or sets the textual place holder, that is displayed by C1TextBox to prompt the user for information. |
PostValidation | Validation rules applied after parsing, that is, after converting the string entered by the user to the DataType (typed validation). |
PreValidation | Validation rules applied before parsing, that is, before converting the string entered by the user to the DataType (raw string validation). |
SelectedText | Gets or sets a value indicating the currently selected text in the control. |
SelectionLength | Gets or sets the number of characters selected in the text box. |
SelectionStart | Gets or sets the starting point of text selected in the text box. |
ShortcutsEnabled | Gets or sets a value indicating whether the defined shortcuts are enabled. |
Text | Gets or sets the current text in the text box. |
TextAlign | Gets or sets how text is aligned in a TextBox control. |
TextLength | Gets the length of text in the control. |
TrimEnd | If True, trailing spaces are removed. |
TrimStart | If True, leading spaces are removed. |
UseSystemPasswordChar | Gets or sets a value indicating whether the text in the TextBox control should appear as the default password character. |
Value | Gets or sets the current DataType representation of the visual information contained in the control. |
VerticalAlign | Gets or sets the vertical alignment of the content in the control. |
Name | Description |
---|---|
CheckValidationResult(ErrorReason, ref object, ErrorInfo) | Checks the result of the ParseContent method. |
ParseContent(out object, ErrorInfo) | Parses the Text string. |
Select(int, int) | Selects a range of text in the text box. |
SelectAll() | Selects all text in the text box. |
UpdateValueWithCurrentText() | Triggers parsing of the Text property and updating the Value. |
ValidateText() | Validates current Text property in the same manner as it usually validated after the control loses focus. |
Name | Description |
---|---|
DataTypeChanged | Occurs when the DataType property changes. |
FormatError | Occurs when the control receives data that cannot be formatted according to the current format and edit mask settings. |
Formatting | Formatting the value programmatically. |
HideSelectionChanged | Occurs when the value of the HideSelection property has changed. |
Parsed | Occurs after the input string value has been converted to the DataType. |
Parsing | Programmatic parsing of the input string. |
PostValidated | Occurs after the typed value has been validated |
PostValidating | Programmatic typed value validation. |
PreValidated | Occurs after the input string value has been validated. |
PreValidating | Programmatic input string validation. |
TextAlignChanged | Occurs when the value of the System.Windows.Forms.TextBox.TextAlign property has changed. |
ValidationError | Error occurred while parsing or validating the input string. |
ValueChanged | Occurs when the Value property changes. |
VerticalAlignChanged | Occurs when the value of the VerticalAlign property changes. |