Class
MultiSelectCloseEventArgs

Event arguments for the MultiSelect OnClose event, providing control over dropdown closing behavior. Allows inspection of closing conditions and cancellation of the closing action based on business logic. Use for data validation, unsaved changes detection, or required selection enforcement before dropdown closes.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class MultiSelectCloseEventArgs : ICancellableEventArgs

Inheritance: objectMultiSelectCloseEventArgs

Implements: ICancellableEventArgs

Constructors

MultiSelectCloseEventArgs()

Declaration

cs-api-definition
public MultiSelectCloseEventArgs()

Properties

IsCancelled

Gets or sets whether the dropdown closing action should be cancelled. Set to true to keep the dropdown open based on validation, required selections, or user confirmation needs. When cancelled, the dropdown remains open and no further closing logic executes. USE CASES: Prevent closing with unsaved changes, enforce minimum selections, or require user confirmation.

Declaration

cs-api-definition
public bool IsCancelled { get; set; }

Property Value

bool

Implements ICancellableEventArgs.IsCancelled