This documentation is archived and is not being maintained.

DataGridColumnCollection Properties

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

Public Properties

public propertyCount Gets the number of columns in the DataGridColumnCollection.
public propertyIsReadOnly Gets a value that indicates whether the columns in the DataGridColumnCollection can be modified.
public propertyIsSynchronized Gets a value indicating whether access to the DataGridColumnCollection is synchronized (thread-safe).
public propertyItem Gets a DataGridColumn derived column object from the DataGridColumnCollection collection at the specified index.

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

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

See Also

DataGridColumnCollection Class | System.Web.UI.WebControls Namespace

Show: