TcxCustomEditButton.Kind Property
Specifies the button content type.
Declaration
property Kind: TcxEditButtonKind read; write; default bkDown;
Property Value
Type | Default | Description |
---|---|---|
TcxEditButtonKind | bkDown | The editor button content type. |
Remarks
An editor button can display a glyph, ellipsis, or text. You can use the Kind
property to switch between supported content types.
Editor buttons can display a hint regardless of the selected content type.
Property Value Examples
The following table demonstrates the difference between all button content types under the same conditions:
Value | Description | Example[1] |
---|---|---|
bkDown (default) | The editor button displays the predefined Down glyph (the drop-down button glyph like in a combo box editor). | |
bkEllipsis | The editor button displays an ellipsis. | |
bkGlyph | The editor button displays a custom glyph defined in the ImageIndex or Glyph property. The Glyph property has higher priority and the Caption property value is ignored. | |
bkText | The editor button displays custom text assigned to the Caption property. ImageIndex and Glyph properties have no effect. |
Default Value
The Enabled
property’s default value is bkDown
.
Note
Certain editors use a different default content type for predefined buttons.
Footnotes
-
These examples demonstrate all possible
Kind
property values for the same button editor with one embedded button under the following conditions:- The
WXI
skin is in effect. - The
Calmness
color palette is selected.
- The
See Also