Back to Devexpress

PopupClosingEventArgs.CloseReason Property

blazor-devexpress-dot-blazor-dot-popupclosingeventargs.md

latest1.6 KB
Original Source

PopupClosingEventArgs.CloseReason Property

Identifies the action that closes the Popup.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public PopupCloseReason CloseReason { get; }

Property Value

TypeDescription
PopupCloseReason

A PopupCloseReason enumeration value.

|

Available values:

NameDescription
Programmatically

You set the Visible property to false or call the CloseAsync method.

| | EscapePress |

A user presses Escape.

| | CloseButtonClick |

A user clicks the Close button in the Popup header or clicks a custom button (if you call the predefined CloseCallback to create this button).

| | OutsideClick |

A user clicks outside the Popup’s boundaries.

|

Remarks

Refer to the Closing event description for additional information and an example.

See Also

PopupClosingEventArgs Class

PopupClosingEventArgs Members

DevExpress.Blazor Namespace