DataGridColumnCollection Members
.NET Framework 3.0
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 | |
|---|---|---|
| DataGridColumnCollection | Initializes a new instance of the DataGridColumnCollection class. |
| 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. |
(see also
Protected Methods
)
Top
| 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 | Overloaded. Determines whether two Object instances are equal. (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. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (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 | |
|---|---|---|
| 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) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| System.Web.UI.IStateManager.LoadViewState | Loads the previously saved state. |
| System.Web.UI.IStateManager.SaveViewState | Returns an object containing state changes. |
| System.Web.UI.IStateManager.TrackViewState | Starts tracking state changes. |
| System.Web.UI.IStateManager.IsTrackingViewState | Gets a value indicating whether the collection is tracking its view-state changes. |
Community Additions
ADD
Show: