menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SelectedItems<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SelectedItems<T>

    A class that holds list selected item.

    Inheritance
    System.Object
    SelectedItems<T>
    Namespace: Syncfusion.Blazor.Lists
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SelectedItems<T> : Object
    Type Parameters
    Name Description
    T

    TValue of the ListView component.

    Constructors

    SelectedItems()

    Declaration
    public SelectedItems()

    Properties

    Data

    Gets or sets the selected item dataSource collection.

    Declaration
    public List<T> Data { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T>

    The data of the selected item. The default value is null.

    Index

    Gets the index of the selected element.

    Declaration
    public List<int> Index { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    Accepts an integer value.

    Remarks

    This is applicable only when EnableVirtualization is enabled.

    ParentId

    Gets the hierarchical parent id collection of the current view.

    Declaration
    public List<string> ParentId { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    Accepts a string value.Holds the parent id value of selected item in nested list.

    Remarks

    Applicable only in nested list with ShowCheckBox enabled.

    Text

    Gets the selected item text collection.

    Declaration
    public List<string> Text { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    Accepts a string value.

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