DxDropDown.IsOpenChanged Event
Fires when the DropDown opens or closes.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v21.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public EventCallback<bool> IsOpenChanged { get; set; }
Parameters
Type | Description |
---|---|
Boolean | A new value of the IsOpen property. |
Remarks
The IsOpenChanged event occurs when the IsOpen property value is changed. For instance, it fires when a user closes the window or you call the ShowAsync and CloseAsync methods.
<DxDropDown IsOpenChanged="OnIsOpenChanged"
Width="400"
BodyText="Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Maecenas porttitor congue massa.">
</DxDropDown>
@code {
async Task OnIsOpenChanged (bool isOpen) {
// your code
}
}
See Also