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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.ICollection.CopyTo Copies the collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IEnumerable.GetEnumerator Returns an enumerator for the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Add Adds an object to the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Clear Clears the collection of DataGridColumnStyle objects.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Contains Determines whether an element is in the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.IndexOf Returns the zero-based index of the first occurrence of the specified object in the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Insert This method is not supported by this control.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Remove Removes the specified DataGridColumnStyle from the GridColumnStylesCollection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.RemoveAt Removes the DataGridColumnStyle at the specified index from the GridColumnStylesCollection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.Count Gets the number of elements contained in the collection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the GridColumnStylesCollection is synchronized (thread safe).
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the GridColumnStylesCollection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize Gets a value indicating whether the collection has a fixed size.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsReadOnly Gets a value indicating whether the collection is read-only.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item Gets the element at the specified index.
Top

Community Additions

ADD
Show:
© 2014 Microsoft