ButtonPressedEventArgs.Button Property

Gets the button being pressed/clicked.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public EditorButton Button { get; }
Public ReadOnly Property Button As EditorButton

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.

See Also