Skip to main content

RepositoryItemButtonEdit.Buttons Property

Returns the collection of buttons in the current button editor.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public virtual EditorButtonCollection Buttons { get; }

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