This documentation is archived and is not being maintained.
DataGridColumnCollection Members
Visual Studio 2008
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.
| Name | Description | |
|---|---|---|
|
DataGridColumnCollection | Initializes a new instance of the DataGridColumnCollection class. |
| Name | Description | |
|---|---|---|
|
Add | Appends the specified DataGridColumn-derived column object to the end of the DataGridColumnCollection collection. |
|
AddAt | Inserts a DataGridColumn-derived column object in the DataGridColumnCollection collection at the specified index. |
|
Clear | Removes all DataGridColumn-derived column objects from the DataGridColumnCollection collection. |
|
CopyTo | Copies the items from the DataGridColumnCollection collection to the specified System::Array, starting at the specified index in the System::Array. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns a System.Collections::IEnumerator interface that contains all the DataGridColumn-derived column objects in the DataGridColumnCollection collection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IndexOf | Returns the index of the specified DataGridColumn-derived column object from the DataGridColumnCollection collection. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes the specified DataGridColumn-derived column object from the DataGridColumnCollection collection. |
|
RemoveAt | Removes a DataGridColumn-derived column object from the DataGridColumnCollection collection at the specified index. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
Count | Gets the number of columns in the DataGridColumnCollection collection. |
|
IsReadOnly | Gets a value that indicates whether the columns in the DataGridColumnCollection collection can be modified. |
|
IsSynchronized | Gets a value indicating whether access to the DataGridColumnCollection collection is synchronized (thread safe). |
|
Item | Gets a DataGridColumn-derived column object from the DataGridColumnCollection collection at the specified index. |
|
SyncRoot | Gets the object that can be used to synchronize access to the DataGridColumnCollection collection. |
| Name | Description | |
|---|---|---|
|
IStateManager::IsTrackingViewState | Infrastructure. Gets a value indicating whether the collection is tracking its view-state changes. |
|
IStateManager::LoadViewState | Infrastructure. Loads the previously saved state. |
|
IStateManager::SaveViewState | Infrastructure. Returns an object containing state changes. |
|
IStateManager::TrackViewState | Infrastructure. Starts tracking state changes. |
Show: