Back to Devexpress

ButtonPressedEventArgs.Button Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-buttonpressedeventargs.md

latest1.8 KB
Original Source

ButtonPressedEventArgs.Button Property

Gets the button being pressed/clicked.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

ButtonPressedEventArgs Class

ButtonPressedEventArgs Members

DevExpress.XtraEditors.Controls Namespace