New to Telerik UI for BlazorStart a free 30-day trial

Provides context and control options for the ComboBox OnClose event, allowing validation and conditional dropdown closing. Use to implement validation checks, save draft changes, update related components, or prevent the dropdown from closing prematurely. Set IsCancelled to true to keep the dropdown open, useful for implementing validation logic or incomplete operation handling. Example scenarios: Validate selections, save state changes, ensure required selections are made, or prevent closing during async operations.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class ComboBoxCloseEventArgs : ICancellableEventArgs

Inheritance: objectComboBoxCloseEventArgs

Implements: ICancellableEventArgs

Constructors

C#
public ComboBoxCloseEventArgs()

Properties

C#
public bool IsCancelled { get; set; }

Implements: ICancellableEventArgs.IsCancelled