This documentation is archived and is not being maintained.

DataGridColumnCollection Members

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

The DataGridColumnCollection type exposes the following members.

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

  NameDescription
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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. (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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
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

  NameDescription
Explicit interface implemetation Private property IStateManager::IsTrackingViewState Infrastructure. Gets a value indicating whether the collection is tracking its view-state changes.
Explicit interface implemetation Private method IStateManager::LoadViewState Infrastructure. Loads the previously saved state.
Explicit interface implemetation Private method IStateManager::SaveViewState Infrastructure. Returns an object containing state changes.
Explicit interface implemetation Private method IStateManager::TrackViewState Infrastructure. Starts tracking state changes.
Top
Show: