Skip to main content
A newer version of this page is available. .

EditorButton() Constructor

Initializes a new instance of the EditorButton class with default settings.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[EditorButtonPreferredConstructor]
public EditorButton()

Remarks

The default constructor creates a new button with default property values.

You can create a button in order to add it to the button collection of a ButtonEdit control. To add the button, see the EditorButtonCollection.Add method accessible via the RepositoryItemButtonEdit.Buttons property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditorButton() constructor.

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