Back to Devexpress

DropDownClosingEventArgs.CloseReason Property

blazor-devexpress-dot-blazor-dot-dropdownclosingeventargs.md

latest1.6 KB
Original Source

DropDownClosingEventArgs.CloseReason Property

Identifies the action that closes the drop-down window.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public DropDownCloseReason CloseReason { get; }

Property Value

TypeDescription
DropDownCloseReason

A value that identifies the close action reason.

|

Available values:

NameDescription
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 additional information and an example.

See Also

DropDownClosingEventArgs Class

DropDownClosingEventArgs Members

DevExpress.Blazor Namespace