Back to Devexpress

CloseUpEventArgs.PressedButton Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-closeupeventargs-505be46d.md

latest1.5 KB
Original Source

CloseUpEventArgs.PressedButton Property

Returns which popup button has been pressed by an end-user.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public BlobSimpleButtonType PressedButton { get; }
vb
Public ReadOnly Property PressedButton As BlobSimpleButtonType

Property Value

TypeDescription
DevExpress.XtraEditors.Popup.BlobSimpleButtonType

A DevExpress.XtraEditors.Popup.BlobSimpleButtonType object that specifies the button that has been pressed by an end-user.

|

Remarks

When a user presses a button within a popup window, this popup closes and triggers the PopupBaseEdit.CloseUp event. Handle this event and retrieve the PressedButton property value to identify what button a user has clicked.

See Also

CloseUpEventArgs Class

CloseUpEventArgs Members

DevExpress.XtraEditors.Controls Namespace