alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class MultiSelectChangeEventArgs<T>

    Provides event data for MultiSelect value or selection changes, fired after the main selection model is updated.

    Inheritance
    object
    MultiSelectChangeEventArgs<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MultiSelectChangeEventArgs<T>
    Type Parameters
    Name Description
    T

    The type of the new value (typically string or a collection of selected values).

    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
    [Obsolete("This property is obsolete and no longer supported.", false)]
    public object E { get; set; }
    Property Value
    Type
    object

    Element

    [Obsolete] Legacy DOM API for MultiSelect change, obsolete and not supported.

    Declaration
    [Obsolete("This property is obsolete and no longer supported.", false)]
    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
    bool

    true if from a user action; otherwise, false.

    OldValue

    Gets the value prior to the most recent change.

    Declaration
    public T OldValue { get; }
    Property Value
    Type Description
    T

    Previous value of type T or null.

    Value

    Gets the updated value after the MultiSelect change event completes.

    Declaration
    [JsonPropertyName("value")]
    public T Value { get; }
    Property Value
    Type Description
    T

    Updated value of type T.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved