EditorButton(Object, ButtonPredefines) Constructor
In This Article
Initializes a new instance of the EditorButton class with the specified property values.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public EditorButton(
object tag,
ButtonPredefines kind
)
#Parameters
Name | Type | Description |
---|---|---|
tag | Object | The value to initialize the button’s Editor |
kind | Button |
The value to initialize the button’s Editor |
#Remarks
Use the constructor to create a button for a ButtonEdit control. After the button is created, you can add it to the button collection of the control using the EditorButtonCollection.Add method. To access the button’s collection, see the RepositoryItemButtonEdit.Buttons property.
See Also