Export (0) Print
Expand All

GridColumnStylesCollection Members

Represents a collection of DataGridColumnStyle objects in the System.Windows.Forms.DataGrid control.

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

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Count  Gets the total number of elements in the collection.(inherited from BaseCollection)
Public property Supported by the .NET Compact Framework IsReadOnly  Gets a value indicating whether the collection is read-only.(inherited from BaseCollection)
Public property Supported by the .NET Compact Framework IsSynchronized  Gets a value indicating whether access to the ICollection is synchronized.(inherited from BaseCollection)
Public property Supported by the .NET Compact Framework Item Overloaded. Gets a specified DataGridColumnStyle in the GridColumnStylesCollection.
Public property Supported by the .NET Compact Framework SyncRoot  Gets an object that can be used to synchronize access to the BaseCollection.(inherited from BaseCollection)
Top

  Name Description
Protected property Supported by the .NET Compact Framework List Overridden. Gets the list of items in the collection.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Adds a column style to the collection.
Public method AddRange Adds an array of column style objects to the collection.
Public method Supported by the .NET Compact Framework Clear Clears the collection of DataGridColumnStyle objects.
Public method Supported by the .NET Compact Framework Contains Overloaded. Gets a value indicating whether the GridColumnStylesCollection contains a specific DataGridColumnStyle.
Public method Supported by the .NET Compact Framework CopyTo  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)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetEnumerator  Gets the object that enables iterating through the members of the collection. (inherited from BaseCollection)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework IndexOf Gets the index of a specified DataGridColumnStyle.
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Removes the specified DataGridColumnStyle from the GridColumnStylesCollection.
Public method Supported by the .NET Compact Framework RemoveAt Removes the DataGridColumnStyle with the specified index from the GridColumnStylesCollection.
Public method ResetPropertyDescriptors Sets the PropertyDescriptor for each column style in the collection to a null reference (Nothing in Visual Basic).
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method OnCollectionChanged Raises the CollectionChanged event.
Top

  Name Description
Public event CollectionChanged Occurs when a change is made to the GridColumnStylesCollection.
Top

Community Additions

ADD
Show:
© 2015 Microsoft