System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.BaseCollection
System.Collections.IList
System.ComponentModel.ListBindable(false)
System.ComponentModel.Editor("System.Windows.Forms.Design.DataGridColumnCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))
On the , you access the through the property.
The uses standard and methods to manipulate the collection.
Use the method to determine if a specific property value exists in the collection. Additionally, use the method to determine the index of any object within the collection.
Always create objects and add them to the before adding objects to the . When you add an empty with a valid value to the collection, objects are automatically generated for you. Consequently, an exception will be thrown if you try to add new objects with duplicate values to the .
Represents a collection of objects in the control.
Method
System.Int32
To be added.
Adds a column style to the collection.
The index of the new .
The to add.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Adds an array of column style objects to the collection.
An array of objects to add to the collection.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Clears the collection of objects.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.CollectionChangeEventHandler
For more information about handling events, see [<topic://cpconEventsOverview>].
Occurs when a change is made to the .
1.0.5000.0
2.0.0.0
Method
System.Boolean
To get a , use the method of the class. Pass the of the to the property of the to return the for a specific column.
Use the method to determine if a particular exists before invoking the method to remove the item. If you need to know the index of a particular , use the method.
Gets a value indicating whether the contains a associated with the specified .
true if the collection contains the ; otherwise, false.
The associated with the desired .
1.0.5000.0
2.0.0.0
Method
System.Boolean
The caption of a is set with the property.
Use the method to determine if a particular exists before invoking the method to remove the item. If you need to know the index of a particular , use the method.
Gets a value indicating whether the contains the with the specified name.
true if the collection contains the ; otherwise, false.
The of the desired .
1.0.5000.0
2.0.0.0
Method
System.Boolean
Use the method to determine if a particular exists before invoking the method to remove the item. If you need to know the index of a particular , use the method.
Gets a value indicating whether the contains the specified .
true if the collection contains the ; otherwise, false.
The desired .
1.0.5000.0
2.0.0.0
Method
System.Int32
Use the method to determine if a specific exists. If so, and you need the index of the element within the collection, use the method.
Gets the index of a specified .
The zero-based index of the within the or -1 if no corresponding exists.
The to find.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.DataGridColumnStyle
To be added.
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.DataGridColumnStyle
To be added.
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.DataGridColumnStyle
To be added.
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.Collections.ArrayList
To be added.
To be added.
Gets the list of items in the collection.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see [<topic://cpconProvidingEventFunctionality>].
Raises the event.
A that contains the event data event.
1.0.5000.0
2.0.0.0
Method
System.Void
Use the method to determine whether the exists in the collection.
Removes the specified from the .
The to remove from the collection.
1.0.5000.0
2.0.0.0
Method
System.Void
Use the method to determine whether the exists in the collection.
Use the method to determine the index of any element in the collection.
Removes the with the specified index from the .
The zero-based index of the to remove.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Sets the for each column style in the collection to null.
1.0.5000.0
2.0.0.0
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
Copies the collection to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from collection. The array must have zero-based indexing.
The zero-based index in the array at which copying begins.
Property
1.0.5000.0
2.0.0.0
System.Int32
To be added.
To be added.
Gets the number of elements contained in the collection.
Property
1.0.5000.0
2.0.0.0
System.Boolean
To be added.
To be added.
Gets a value indicating whether access to the is synchronized (thread safe).
Property
1.0.5000.0
2.0.0.0
System.Object
To be added.
To be added.
Gets an object that can be used to synchronize access to the .
Method
1.0.5000.0
2.0.0.0
System.Collections.IEnumerator
To be added.
Returns an enumerator for the collection.
An for the collection.
Method
1.0.5000.0
2.0.0.0
System.Int32
To be added.
Adds an object to the collection.
The index at which the value has been added.
The object to be added to the collection. The value can be null.
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
Clears the collection of objects.
Method
1.0.5000.0
2.0.0.0
System.Boolean
To be added.
Determines whether an element is in the collection.
true if the element is in the collection; otherwise, false.
The object to locate in the collection. The value can be null.
Method
1.0.5000.0
2.0.0.0
System.Int32
To be added.
Returns the zero-based index of the first occurrence of the specified object in the collection.
The zero-based index of the first occurrence of the parameter within the collection, if found; otherwise, -1.
The object to locate in the collection. The value can be null.
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
This method is not supported by this control.
The zero-based index at which should be inserted.
The object to insert into the collection.
Property
1.0.5000.0
2.0.0.0
System.Boolean
To be added.
To be added.
Gets a value indicating whether the collection has a fixed size.
Property
1.0.5000.0
2.0.0.0
System.Boolean
To be added.
To be added.
Gets a value indicating whether the collection is read-only.
Property
1.0.5000.0
2.0.0.0
System.Object
To be added.
To be added.
To be added.
To be added.
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
Removes the specified from the .
The to remove from the collection.
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
Removes the at the specified index from the .
The zero-based index of the to remove.