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 |
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. |