System.Windows.Forms.GridColumnStylesCollection Members

The members of System.Windows.Forms.GridColumnStylesCollection are listed below.

See Also: Inherited members from System.Windows.Forms.BaseCollection

Public Properties

[read-only]
default property
Item(System.ComponentModel.PropertyDescriptor)DataGridColumnStyle. Documentation for this section has not yet been entered.
[read-only]
default property
Item(int)DataGridColumnStyle. Documentation for this section has not yet been entered.
[read-only]
default property
Item(string)DataGridColumnStyle. Documentation for this section has not yet been entered.

Protected Properties

[read-only]
override
ListArrayList.

Gets the list of items in the collection.

Public Methods

Add(DataGridColumnStyle) : int

Adds a column style to the collection.

AddRange(DataGridColumnStyle[])

Adds an array of column style objects to the collection.

Clear()

Clears the collection of System.Windows.Forms.DataGridColumnStyle objects.

Contains(System.ComponentModel.PropertyDescriptor) : bool

Gets a value indicating whether the System.Windows.Forms.GridColumnStylesCollection contains a System.Windows.Forms.DataGridColumnStyle associated with the specified System.ComponentModel.PropertyDescriptor.

Contains(string) : bool

Gets a value indicating whether the System.Windows.Forms.GridColumnStylesCollection contains the System.Windows.Forms.DataGridColumnStyle with the specified name.

Contains(DataGridColumnStyle) : bool

Gets a value indicating whether the System.Windows.Forms.GridColumnStylesCollection contains the specified System.Windows.Forms.DataGridColumnStyle.

IndexOf(DataGridColumnStyle) : int

Gets the index of a specified System.Windows.Forms.DataGridColumnStyle.

Remove(DataGridColumnStyle)

Removes the specified System.Windows.Forms.DataGridColumnStyle from the System.Windows.Forms.GridColumnStylesCollection.

RemoveAt(int)

Removes the System.Windows.Forms.DataGridColumnStyle with the specified index from the System.Windows.Forms.GridColumnStylesCollection.

ResetPropertyDescriptors()

Sets the System.ComponentModel.PropertyDescriptor for each column style in the collection to null.

Protected Methods

Public Events

Explicitly Implemented Interface Members

IList.Add

Adds an object to the collection.

IList.Clear

Clears the collection of System.Windows.Forms.DataGridColumnStyle objects.

IList.Contains

Determines whether an element is in the collection.

ICollection.CopyTo

Copies the collection to a compatible one-dimensional Array, starting at the specified index of the target array.

[read-only]
ICollection.Countint.

Gets the number of elements contained in the collection.

IEnumerable.GetEnumerator

Returns an enumerator for the collection.

IList.IndexOf

Returns the zero-based index of the first occurrence of the specified object in the collection.

IList.Insert

This method is not supported by this control.

[read-only]
IList.IsFixedSizebool.

Gets a value indicating whether the collection has a fixed size.

[read-only]
IList.IsReadOnlybool.

Gets a value indicating whether the collection is read-only.

[read-only]
ICollection.IsSynchronizedbool.

Gets a value indicating whether access to the System.Windows.Forms.GridColumnStylesCollection is synchronized (thread safe).

IList.Itemobject. Documentation for this section has not yet been entered.
IList.Remove

Removes the specified System.Windows.Forms.DataGridColumnStyle from the System.Windows.Forms.GridColumnStylesCollection.

IList.RemoveAt

Removes the System.Windows.Forms.DataGridColumnStyle at the specified index from the System.Windows.Forms.GridColumnStylesCollection.

[read-only]
ICollection.SyncRootobject.

Gets an object that can be used to synchronize access to the System.Windows.Forms.GridColumnStylesCollection.