Editor object
The Editor object holds information about an editor. Use the Add or DataSource method to add new editors to the control. The Editor object may display an icon, a custom size picture, an HTML label and window editor.

The Editor object supports the following properties and methods:

NameDescription
AddButtonAdds a new button to the editor with specified key and aligns it to the left or right side of the editor.
AddItemAdds a new item to the editor's list.
AppearanceRetrieves or sets the editor's appearance.
BackColorSpecifies the editor's background color.
ButtonWidthSpecifies the width of the buttons in the editor.
CaptionRetrieves the caption of the field.
ClearButtonsClears the buttons collection.
ClearItemsClears the items collection.
DropDownDisplays the drop down list.
DropDownAlignmentRetrieves or sets a value that indicates the item's alignment in the editor's drop-down list.
DropDownAutoWidthRetrieves or sets a value that indicates whether the editor's drop-down window list is automatically computed to fit the entire list.
DropDownMinWidthSpecifies the minimum drop-down list width if the DropDownAutoWidth is False.
DropDownRowsRetrieves or sets a value that indicates the maximum number of visible rows in the editor's drop- down list.
DropDownVisibleRetrieves or sets a value that indicates whether the editor's drop down button is visible or hidden.
EditTypeRetrieves or sets a value that indicates the type of the editor.
ExpandAllExpands all items in the editor's list.
ExpandItemExpands or collapses an item in the editor's list.
FindItemFinds an item given its value or caption.
ForeColorSpecifies the editor's foreground color.
ImageRetrieves or sets a value that indicates the index of the editor's icon.
IndexRetrieves the index of the editor.
InsertItemInserts a child item to the editor's list.
ItemToolTipGets or sets the text displayed when the mouse pointer hovers over a predefined item.
KeyRetrieves the editor's key.
LabelSpecifies the editor's label.
LabelAlignmentSpecifies the alignment of the label relative to the field.
LabelBackColorSpecifies the label's background color.
LabelForeColorSpecifies the label's foreground color.
LockedDetermines whether the editor is locked or unlocked.
MaskRetrieves or sets a value that indicates the mask used by the editor.
MaskCharRetrieves or sets a value that indicates the character used for masking.
NumericSpecifies whether the editor enables numeric values only.
OptionSpecifies an option for the editor.
PartialCheckRetrieves or sets a value that indicates whether the associated check box has two or three states.
PictureAssigns a custom size picture to an editor.
PopupAppearanceRetrieves or sets a value that indicates the drop-down window's appearance.
PositionRetrieves or sets a value that indicates the editor's position.
RemoveButtonRemoves a button given its key.
RemoveItemRemoves an item from the editor's predefined values list.
SortItemsSorts the list of items in the editor.
ToolTipSpecifies a tooltip being displayed when the cursor hover the editor's label.
UserDataGets or sets the user-definable data for the current editor.
UserEditorSpecifies the control's identifier and the control's runtime license key when EditType is UserEditor.
UserEditorObjectGets the user editor object when EditType is UserEditor.
ValueRetrieves or sets the field's value.
VisibleRetrieves or sets a value that indicates whether the editor is visible or hidden.