System.Windows.Forms.GridTableStylesCollection Members

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

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

Public Properties

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

Protected Properties

[read-only]
override
ListArrayList.

Gets the underlying list.

Public Methods

Add(DataGridTableStyle) : int

Adds a System.Windows.Forms.DataGridTableStyle to this collection.

AddRange(DataGridTableStyle[])

Adds an array of table styles to the collection.

Clear()

Clears the collection.

Contains(string) : bool

Gets a value indicating whether the System.Windows.Forms.GridTableStylesCollection contains the System.Windows.Forms.DataGridTableStyle specified by name.

Contains(DataGridTableStyle) : bool

Gets a value indicating whether the System.Windows.Forms.GridTableStylesCollection contains the specified System.Windows.Forms.DataGridTableStyle.

Remove(DataGridTableStyle)

Removes the specified System.Windows.Forms.DataGridTableStyle.

RemoveAt(int)

Removes a System.Windows.Forms.DataGridTableStyle at the specified index.

Protected Methods

Public Events

CollectionChanged

Occurs when the collection has changed.

Explicitly Implemented Interface Members

IList.Add

Adds a System.Windows.Forms.DataGridTableStyle to this collection.

IList.Clear

Clears the collection.

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 items 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

Implements the IList.Insert(int, object) method. Always throws NotSupportedException.

[read-only]
IList.IsFixedSizebool.

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

[read-only]
IList.IsReadOnlybool. Documentation for this section has not yet been entered.
[read-only]
ICollection.IsSynchronizedbool.

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

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

Removes the specified System.Windows.Forms.DataGridTableStyle.

IList.RemoveAt

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

[read-only]
ICollection.SyncRootobject.

Gets an object that can be used to synchronize access to the collection.