Skip to main content

RepositoryItemButtonEdit.Buttons Property

Returns the collection of buttons in the current button editor.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Buttons property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also