Skip to main content
A newer version of this page is available. .

DropDownClosingEventArgs.CloseReason Property

Identifies the action that closes the drop-down window.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public DropDownCloseReason CloseReason { get; }

Property Value

Type Description
DropDownCloseReason

A value that identifies the close action reason.

Available values:

Name Description
Programmatically

You set the IsOpen property to false, called the CloseAsync method, or sent the CloseCallback.

EscapePress

A user pressed Escape.

OutsideClick

A user clicked outside the drop-down window’s boundaries. You can set the CloseOnOutsideClick property to false to disable this option.

Remarks

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

See Also