RepositoryItemButtonEdit.Buttons Property

Returns the collection of buttons in the current button editor.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
public virtual EditorButtonCollection Buttons { get; }
<DXCategory("Behavior")>
Public Overridable ReadOnly Property Buttons As EditorButtonCollection

Property Value

Type Description
EditorButtonCollection

The EditorButtonCollection object providing access to buttons for the button editor.

Remarks

The Buttons property enables you to add and remove buttons and access individual buttons in the collection and their properties. The number of buttons is determined by the Count property.

Each button represents an object of the EditorButton class and this allows you to customize the button by specifying its caption, image to display, button's kind, style, visibility status etc.

See Also