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

ButtonPressedEventArgs.Button Property

Gets the button being pressed/clicked.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public EditorButton Button { get; }

Property Value

Type Description
EditorButton

The EditorButton object specifying the currently pressed/clicked button.

Remarks

Use the Button property to get the button being pressed/clicked. This returns an object from the RepositoryItemButtonEdit.Buttons collection for which the RepositoryItemButtonEdit.ButtonPressed or RepositoryItemButtonEdit.ButtonClick event is fired.

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

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