alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SelectAllEventArgs<T>

    Event data for select-all and deselect-all actions in ListBox and MultiSelect, tracking state, triggering context, and user interaction.

    Inheritance
    object
    SelectAllEventArgs<T>
    SelectingAllEventArgs<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 SelectAllEventArgs<T>
    Type Parameters
    Name Description
    T

    Type of the items being selected/deselected (e.g., string).

    Remarks

    SelectAllEventArgs records whether select-all was user-driven, the affected values, and the full selection state. Use it to audit or block select-all flows.

    Examples
    void OnSelectAll(SelectAllEventArgs<MyType> args) {
        if (args.IsChecked) {
            Console.WriteLine($"All values selected: {string.Join(",", args.ItemData ?? new List<MyType>())}");
        }
    }

    Constructors

    SelectAllEventArgs()

    Declaration
    public SelectAllEventArgs()

    Properties

    Event

    [Obsolete] Browser event for old select-all API; not supported now.

    Declaration
    [Obsolete("This property is obsolete and no longer supported.", false)]
    public object Event { get; set; }
    Property Value
    Type
    object

    IsChecked

    Gets whether select-all has checked or unchecked items.

    Declaration
    public bool IsChecked { get; }
    Property Value
    Type Description
    bool

    true for select-all activation; false for deselect-all.

    IsInteracted

    Gets a value indicating whether select-all was triggered by direct user interaction.

    Declaration
    public bool IsInteracted { get; }
    Property Value
    Type Description
    bool

    true if changed by the user; false if programmatic.

    ItemData

    Enumerable of the selected item data objects after the select-all action is performed.

    Declaration
    public IEnumerable<T> ItemData { get; }
    Property Value
    Type
    IEnumerable<T>

    Items

    (Obsolete) Old-style selected element list for compatibility only.

    Declaration
    [Obsolete("This property is obsolete and no longer supported.", false)]
    public List<DOM> Items { get; set; }
    Property Value
    Type
    List<DOM>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved