DxDropDownBox.DropDownClosing Event
In This Article
Fires before the drop-down window is closed.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[Parameter]
public EventCallback<DropDownBoxClosingEventArgs> DropDownClosing { get; set; }
#Parameters
Type | Description |
---|---|
Drop |
An object that contains data for this event. |
#Remarks
Handle the DropDownClosing
event to perform actions before the drop-down window is closed.
razor
<DxDropDownBox @bind-Value="Value"
DropDownClosing="DropDownClosing"
QueryDisplayText="QueryText" >
<DropDownBodyTemplate> ... </DropDownBodyTemplate>
</DxDropDownBox>
@code {
//...
void DropDownClosing(DropDownBoxClosingEventArgs arg) {
ResetControlsValues();
}
}
See Also