Skip to main content

PopupClosingEventArgs.CloseReason Property

Identifies the action that closes the Popup.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public PopupCloseReason CloseReason { get; }

Property Value

Type Description
PopupCloseReason

A PopupCloseReason enumeration value.

Available values:

Name Description
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 more information and an example.

See Also