Class MultiSelectChangeEventArgs<T>
Provides event data for MultiSelect value or selection changes, fired after the main selection model is updated.
Inheritance
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class MultiSelectChangeEventArgs<T> : Object
Type Parameters
Name | Description |
---|---|
T | The type of the new value (typically |
Remarks
The MultiSelectChangeEventArgs class is useful to detect changes in value/selection (including add/remove), and provides both the previous and new value so you can identify exactly what changed. Most properties are read-only except Value
for downstream logic.
Examples
void MultiSelectChanged(MultiSelectChangeEventArgs<string[]> args)
{
if (!args.IsInteracted) return;
// Audit or react to change in args.Value vs args.OldValue
}
Constructors
MultiSelectChangeEventArgs()
Declaration
public MultiSelectChangeEventArgs()
Properties
E
[Obsolete] Legacy event arguments, now unused and not supported.
Declaration
public object E { get; set; }
Property Value
Type |
---|
System.Object |
Element
[Obsolete] Legacy DOM API for MultiSelect change, obsolete and not supported.
Declaration
public DOM Element { get; set; }
Property Value
Type |
---|
DOM |
IsInteracted
Indicates whether the change event was initiated by user interaction (true = user-initiated, false = programmatic).
Declaration
public bool IsInteracted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
OldValue
Gets the value prior to the most recent change.
Declaration
public T OldValue { get; }
Property Value
Type | Description |
---|---|
T | Previous value of type |
Value
Gets the updated value after the MultiSelect change event completes.
Declaration
public T Value { get; }
Property Value
Type | Description |
---|---|
T | Updated value of type |