EditorButton.Kind Property

Gets or sets the type of image to display within the button.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(ButtonPredefines.Ellipsis)]
[DXCategory("Appearance")]
public virtual ButtonPredefines Kind { get; set; }
<DefaultValue(ButtonPredefines.Ellipsis)>
<DXCategory("Appearance")>
Public Overridable Property Kind As ButtonPredefines

Property Value

Type Default Description
ButtonPredefines

Ellipsis

A ButtonPredefines enumerator value that specifies the type of image to display within the button.

Remarks

The Kind property allows you to specify the type of image to display within the button. The ButtonPredefines type enumerates possible image types. Setting the Kind property to Glyph allows you to display a custom image specified by the EditorButton.Image property. If Kind is set to a value other than Glyph, the button displays a predefined image. See the ButtonPredefines topic for sample screenshots.

If the Kind property is set to Glyph, Ellipsis, Delete, OK, Plus, Minus, Redo, Undo or DropDown, it is possible to display the button's EditorButton.Caption near the image. To allow the display of the button's caption and image at the same time, set the EditorButton.ImageLocation property to any value except for MiddleCenter. Otherwise, only the image is displayed.

See Also