Class
GridViewSelectedRowsCollection

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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
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

GridViewSelectedRowsCollection()

Initializes a new instance of the GridViewSelectedRowsCollection.

Declaration

cs-api-definition
public GridViewSelectedRowsCollection()

GridViewSelectedRowsCollection(MasterGridViewTemplate)

Initializes a new instance of the GridViewSelectedRowsCollection.

Declaration

cs-api-definition
public GridViewSelectedRowsCollection(MasterGridViewTemplate masterTemplate)

Parameters

masterTemplate

MasterGridViewTemplate

An instance of the MasterGridViewTemplate.

Methods

BeginUpdate()

Begins the update.

Declaration

cs-api-definition
public void BeginUpdate()

EndUpdate(bool)

Ends the update.

Declaration

cs-api-definition
public void EndUpdate(bool notifyUpdates)

Parameters

notifyUpdates

bool

The notify updates.

ToArray()

Converts the collection of selected rows to an array.

Declaration

cs-api-definition
public GridViewRowInfo[] ToArray()

Returns

GridViewRowInfo[]