Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EditorButtonCollection Class

Represents a collection of editor buttons in a ButtonEdit control or its descendant.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[ListBindable(false)]
public class EditorButtonCollection :
    CollectionBase,
    IEnumerable<EditorButton>,
    IEnumerable,
    IList<EditorButton>,
    ICollection<EditorButton>

The following members return EditorButtonCollection objects:

#Remarks

ButtonEdit editors and descendants allow you to display an unlimited number of buttons within the editor’s box. The collection of editor buttons available for an editor can be accessed via the RepositoryItemButtonEdit.Buttons property. This property returns a EditorButtonCollection object whose members allow you to add, delete, access individual buttons and perform other common collection management tasks. Note that each individual button is represented by an EditorButton object.

You don’t have to remove buttons to make them temporarily invisible. Instead, use the EditorButton.Visible property of the desired editor button.

#Inheritance

Object
CollectionBase
EditorButtonCollection
See Also