Skip to main content

EditorButton(ButtonPredefines, String) Constructor

Initializes a new EditorButton instance with the specified property values.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public EditorButton(
    ButtonPredefines kind,
    string toolTip
)

Parameters

Name Type Description
kind ButtonPredefines

The value to initialize the button’s EditorButton.Kind property.

toolTip String

The value to initialize the button’s EditorButton.ToolTip property.

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 a control using the EditorButtonCollection.Add method. To access the button’s collection, see the RepositoryItemButtonEdit.Buttons property.

See Also