GridColumnStylesCollection Methods
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | Add(DataGridColumnStyle^) | Adds a column style to the collection. |
![]() | AddRange(array<DataGridColumnStyle^>^) | Adds an array of column style objects to the collection. |
![]() | Clear() | Clears the collection of DataGridColumnStyle objects. |
![]() | Contains(DataGridColumnStyle^) | Gets a value indicating whether the GridColumnStylesCollection contains the specified DataGridColumnStyle. |
![]() | Contains(PropertyDescriptor^) | Gets a value indicating whether the GridColumnStylesCollection contains a DataGridColumnStyle associated with the specified PropertyDescriptor. |
![]() | Contains(String^) | Gets a value indicating whether the GridColumnStylesCollection contains the DataGridColumnStyle with the specified name. |
![]() | CopyTo(Array^, Int32) | Copies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index.(Inherited from BaseCollection.) |
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Equals(Object^) | 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() | Gets the object that enables iterating through the members of the collection.(Inherited from BaseCollection.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | IndexOf(DataGridColumnStyle^) | Gets the index of a specified DataGridColumnStyle. |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() | OnCollectionChanged(CollectionChangeEventArgs^) | Raises the CollectionChanged event. |
![]() | Remove(DataGridColumnStyle^) | Removes the specified DataGridColumnStyle from the GridColumnStylesCollection. |
![]() | RemoveAt(Int32) | Removes the DataGridColumnStyle with the specified index from the GridColumnStylesCollection. |
![]() | ResetPropertyDescriptors() | Sets the PropertyDescriptor for each column style in the collection to null. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo(Array^, Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Copies the collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
![]() ![]() | IEnumerable::GetEnumerator() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator for the collection. |
![]() ![]() | IList::Add(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Adds an object to the collection. |
![]() ![]() | IList::Clear() | This API supports the product infrastructure and is not intended to be used directly from your code. Clears the collection of DataGridColumnStyle objects. |
![]() ![]() | IList::Contains(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether an element is in the collection. |
![]() ![]() | IList::IndexOf(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Returns the zero-based index of the first occurrence of the specified object in the collection. |
![]() ![]() | IList::Insert(Int32, Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. This method is not supported by this control. |
![]() ![]() | IList::Remove(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified DataGridColumnStyle from the GridColumnStylesCollection. |
![]() ![]() | IList::RemoveAt(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Removes the DataGridColumnStyle at the specified index from the GridColumnStylesCollection. |



