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

EditorButton(ButtonPredefines) Constructor

Initializes a new instance of the ButtonPredefines class with a ButtonPredefines button type.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[EditorButtonPreferredConstructor]
public EditorButton(
    ButtonPredefines kind
)

#Parameters

Name Type Description
kind ButtonPredefines

A ButtonPredefines type value representing the kind of button to create.

#Remarks

Use this constructor to create a button and initialize its EditorButton.Kind property with the specified value. After the button is created, you can add it to the button’s collection of a ButtonEdit control using the EditorButtonCollection.Add method. To access the button’s collection, see the RepositoryItemButtonEdit.Buttons property.

See Also