New to Telerik UI for WinFormsStart a free 30-day trial

Represents a collection containing GridViewRowInfo that represent the selected rows in RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewSelectedRowsCollection : ReadOnlyObservableCollection<GridViewRowInfo>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Inheritance: objectReadOnlyCollection<GridViewRowInfo>ReadOnlyObservableCollection<GridViewRowInfo>GridViewSelectedRowsCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members ReadOnlyObservableCollection<GridViewRowInfo>.OnCollectionChanged(NotifyCollectionChangedEventArgs)ReadOnlyObservableCollection<GridViewRowInfo>.OnPropertyChanged(PropertyChangedEventArgs)ReadOnlyObservableCollection<GridViewRowInfo>.CollectionChangedReadOnlyObservableCollection<GridViewRowInfo>.PropertyChangedReadOnlyCollection<GridViewRowInfo>.Contains(GridViewRowInfo)ReadOnlyCollection<GridViewRowInfo>.CopyTo(GridViewRowInfo[], int)ReadOnlyCollection<GridViewRowInfo>.GetEnumerator()ReadOnlyCollection<GridViewRowInfo>.IndexOf(GridViewRowInfo)ReadOnlyCollection<GridViewRowInfo>.CountReadOnlyCollection<GridViewRowInfo>.this[int]ReadOnlyCollection<GridViewRowInfo>.Items...

Constructors

Initializes a new instance of the GridViewSelectedRowsCollection.

C#
public GridViewSelectedRowsCollection()

Initializes a new instance of the GridViewSelectedRowsCollection.

C#
public GridViewSelectedRowsCollection(MasterGridViewTemplate masterTemplate)
Parameters:masterTemplateMasterGridViewTemplate

An instance of the MasterGridViewTemplate.

Methods

Begins the update.

C#
public void BeginUpdate()

Ends the update.

C#
public void EndUpdate(bool notifyUpdates)
Parameters:notifyUpdatesbool

The notify updates.

Converts the collection of selected rows to an array.

C#
public GridViewRowInfo[] ToArray()
Returns:

GridViewRowInfo[]