DataGridColumnCollection Members

A collection of DataGridColumn-derived column objects that represent the columns in a DataGrid control. This class cannot be inherited.

The following tables list the members exposed by the DataGridColumnCollection type.

  Name Description
Public method DataGridColumnCollection Initializes a new instance of the DataGridColumnCollection class.
Top

  Name Description
Public property Count Gets the number of columns in the DataGridColumnCollection collection.
Public property IsReadOnly Gets a value that indicates whether the columns in the DataGridColumnCollection collection can be modified.
Public property IsSynchronized Gets a value indicating whether access to the DataGridColumnCollection collection is synchronized (thread safe).
Public property Item Gets a DataGridColumn-derived column object from the DataGridColumnCollection collection at the specified index.
Public property SyncRoot Gets the object that can be used to synchronize access to the DataGridColumnCollection collection.
Top

(see also Protected Methods )
  Name Description
Public method Add Appends the specified DataGridColumn-derived column object to the end of the DataGridColumnCollection collection.
Public method AddAt Inserts a DataGridColumn-derived column object in the DataGridColumnCollection collection at the specified index.
Public method Clear Removes all DataGridColumn-derived column objects from the DataGridColumnCollection collection.
Public method CopyTo Copies the items from the DataGridColumnCollection collection to the specified System.Array, starting at the specified index in the System.Array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator Returns a System.Collections.IEnumerator interface that contains all the DataGridColumn-derived column objects in the DataGridColumnCollection collection.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index of the specified DataGridColumn-derived column object from the DataGridColumnCollection collection.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the specified DataGridColumn-derived column object from the DataGridColumnCollection collection.
Public method RemoveAt Removes a DataGridColumn-derived column object from the DataGridColumnCollection collection at the specified index.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Web.UI.IStateManager.LoadViewState Loads the previously saved state.
Explicit interface implementation Method System.Web.UI.IStateManager.SaveViewState Returns an object containing state changes.
Explicit interface implementation Method System.Web.UI.IStateManager.TrackViewState Starts tracking state changes.
Explicit interface implementation Property System.Web.UI.IStateManager.IsTrackingViewState Gets a value indicating whether the collection is tracking its view-state changes..
Top

Community Additions

ADD
Show: