Name

DataGridItemCollection

Synopsis

This custom collection class contains DataGridItem objects. It is used for the DataGrid.Items property of the DataGrid control.

Public Class DataGridItemCollection : Implements ICollection, IEnumerable
' Public Constructors
   Public Sub New(ByVal items As System.Collections.ArrayList) 
' Public Instance Properties
   Public ReadOnly Property Count As Integer Implements ICollection.Count 
   Public ReadOnly Property IsReadOnly As Boolean  
   Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized 
   Public Default ReadOnly Property Item(
        ByVal index As Integer) As DataGridItem  
   Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot 
' Public Instance Methods
   Public Sub CopyTo(ByVal array As Array, 
        ByVal index As Integer) Implements ICollection.CopyTo 
   Public Function GetEnumerator(
        ) As IEnumerator Implements IEnumerable.GetEnumerator 
End Class

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.