menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridSelectedRowsCollection - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridSelectedRowsCollection

    Represents a class that maintains the collection of selected rows and its information.

    Inheritance
    System.Object
    System.Collections.Generic.List<GridRowInfo>
    GridSelectedRowsCollection
    Implements
    System.Collections.Generic.IList<GridRowInfo>
    System.Collections.Generic.ICollection<GridRowInfo>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<GridRowInfo>
    System.Collections.Generic.IReadOnlyCollection<GridRowInfo>
    System.Collections.Generic.IEnumerable<GridRowInfo>
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Add(Syncfusion.UI.Xaml.Grid.GridRowInfo)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.AddRange(System.Collections.Generic.IEnumerable<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.AsReadOnly()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.BinarySearch(Syncfusion.UI.Xaml.Grid.GridRowInfo)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.BinarySearch(Syncfusion.UI.Xaml.Grid.GridRowInfo, System.Collections.Generic.IComparer<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.BinarySearch(System.Int32, System.Int32, Syncfusion.UI.Xaml.Grid.GridRowInfo, System.Collections.Generic.IComparer<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Capacity
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Clear()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.ConvertAll<TOutput>(System.Converter<Syncfusion.UI.Xaml.Grid.GridRowInfo, TOutput>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.CopyTo(Syncfusion.UI.Xaml.Grid.GridRowInfo[])
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.CopyTo(Syncfusion.UI.Xaml.Grid.GridRowInfo[], System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.CopyTo(System.Int32, Syncfusion.UI.Xaml.Grid.GridRowInfo[], System.Int32, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Count
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Exists(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Find(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindAll(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindIndex(System.Int32, System.Int32, System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindIndex(System.Int32, System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindIndex(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindLast(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindLastIndex(System.Int32, System.Int32, System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindLastIndex(System.Int32, System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.FindLastIndex(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.ForEach(System.Action<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.GetEnumerator()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.GetRange(System.Int32, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.IndexOf(Syncfusion.UI.Xaml.Grid.GridRowInfo)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.IndexOf(Syncfusion.UI.Xaml.Grid.GridRowInfo, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.IndexOf(Syncfusion.UI.Xaml.Grid.GridRowInfo, System.Int32, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Insert(System.Int32, Syncfusion.UI.Xaml.Grid.GridRowInfo)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Item[System.Int32]
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.LastIndexOf(Syncfusion.UI.Xaml.Grid.GridRowInfo)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.LastIndexOf(Syncfusion.UI.Xaml.Grid.GridRowInfo, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.LastIndexOf(Syncfusion.UI.Xaml.Grid.GridRowInfo, System.Int32, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Remove(Syncfusion.UI.Xaml.Grid.GridRowInfo)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.RemoveAll(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.RemoveAt(System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.RemoveRange(System.Int32, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Reverse()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Reverse(System.Int32, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Sort()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Sort(System.Collections.Generic.IComparer<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Sort(System.Comparison<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.Generic.ICollection<Syncfusion.UI.Xaml.Grid.GridRowInfo>.IsReadOnly
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.Generic.IEnumerable<Syncfusion.UI.Xaml.Grid.GridRowInfo>.GetEnumerator()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.ICollection.IsSynchronized
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.ICollection.SyncRoot
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.Add(System.Object)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.Contains(System.Object)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.IndexOf(System.Object)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.IsFixedSize
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.IsReadOnly
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.Item[System.Int32]
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.Remove(System.Object)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.ToArray()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.TrimExcess()
    System.Collections.Generic.List<Syncfusion.UI.Xaml.Grid.GridRowInfo>.TrueForAll(System.Predicate<Syncfusion.UI.Xaml.Grid.GridRowInfo>)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class GridSelectedRowsCollection : List<GridRowInfo>, IList<GridRowInfo>, ICollection<GridRowInfo>, IList, ICollection, IReadOnlyList<GridRowInfo>, IReadOnlyCollection<GridRowInfo>, IEnumerable<GridRowInfo>, IEnumerable

    Constructors

    GridSelectedRowsCollection()

    Declaration
    public GridSelectedRowsCollection()

    Methods

    Contains(NodeEntry)

    Determines whether the specific node entry is in the GridSelectedRowsCollection list.

    Declaration
    public bool Contains(NodeEntry nodeEntry)
    Parameters
    Type Name Description
    NodeEntry nodeEntry

    The node entry to locate in the GridSelectedRowsCollection list.

    Returns
    Type Description
    System.Boolean

    true if the node entry is found in the GridSelectedRowsCollection list; otherwise, false.

    Contains(GridRowInfo)

    Determines whether the specific row info is in the GridSelectedRowsCollection list.

    Declaration
    public bool Contains(GridRowInfo rowInfo)
    Parameters
    Type Name Description
    GridRowInfo rowInfo

    The row info to locate in the GridSelectedRowsCollection list.

    Returns
    Type Description
    System.Boolean

    true if the row info is found in the GridSelectedRowsCollection list; otherwise, false.

    Contains(Int32)

    Determines whether the row info is at the specified row index of GridSelectedRowsCollection list.

    Declaration
    public bool Contains(int rowIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The index that contains the row info at specified index in GridSelectedRowsCollection list.

    Returns
    Type Description
    System.Boolean

    true if the row info is found at specified index; otherwise, false.

    ContainsObject(Object)

    Determines whether the specific row data is in the GridSelectedRowsCollection list.

    Declaration
    public bool ContainsObject(object rowData)
    Parameters
    Type Name Description
    System.Object rowData

    The row data to locate in the GridSelectedRowsCollection list.

    Returns
    Type Description
    System.Boolean

    true if the row data is found in the GridSelectedRowsCollection list; otherwise, false.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, Int32, Func<TElement, Object>[])
    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, IEnumerable<Func<TElement, Object>>)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    ChartExtensionUtils.DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved