This documentation is archived and is not being maintained.

DataGridItemCollection Properties

The properties of the DataGridItemCollection class are listed here. For a complete list of DataGridItemCollection class members, see the DataGridItemCollection Members topic.

Public Properties

public propertyCount Gets the number of DataGridItem objects in the collection.
public propertyIsReadOnly Gets a value that indicates whether the DataGridItem objects in the DataGridItemCollection can be modified.
public propertyIsSynchronized Gets a value indicating whether access to the DataGridItemCollection is synchronized (thread-safe).
public propertyItem Gets the DataGridItem object at the specified index in the collection.

In C#, this property is the indexer for the DataGridItemCollection class.

public propertySyncRoot Gets the object that can be used to synchronize access to the DataGridItemCollection.

See Also

DataGridItemCollection Class | System.Web.UI.WebControls Namespace

Show: