[]
Collection of grid Column objects.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ColumnCollection : RowColCollection, IEnumerable
| Name | Description |
|---|---|
| Count | Gets or sets the number of Column objects in this collection. |
| Fixed | Gets or sets the number of fixed columns in this collection. |
| this[int] | Gets the Column at the specified index. |
| this[string] | Gets the Column that has the specified column name. |
| Selected | Gets a collection of Column objects that are currently selected. |
| Name | Description |
|---|---|
| Add() | Appends a new Column object to this collection. |
| Add(int) | Appends a given number of Column objects to the collection. |
| BuildString(bool) | Gets a string build a string that contains a complete description of the column collection, suitable for persisting the control state. |
| Contains(string) | Gets a value that determines whether the collection contains a Column with the given name. |
| IndexOf(string) | Gets the index of the Column with the specified name. |
| IndexOf(string, bool) | Gets the index of the Column with the specified name, optionally throwing an exception if the column is not found. |
| IndexOf(string, bool, int) | Gets the index of the Column with the specified name, optionally throwing an exception if the column is not found. The search starts at a specified index. |
| IndexOf(string, int) | Gets the index of the Column with the specified name. The search starts at a specified index. |
| Insert(int) | Adds a new Column object to this collection at a specified position. |
| InsertRange(int, int) | Adds a range of Column objects to the collection at a specified position. |
| Move(int, int) | Moves a Column object to a new position in the collection. |
| MoveRange(int, int, int) | Moves a range of Column objects to a new position in the collection. |
| ParseString(C1FlexGridBase, string) | Parses a string containg a description of the column collection (usually obtained by calling the BuildString(bool) method) and applies it to a grid. |
| Remove(Column) | Removes a Column object from the collection. |
| Remove(int) | Removes a Column object from the collection. |
| Remove(string) | Removes a Column object from the collection. |
| RemoveRange(int, int) | Removes a range of Column objects from the collection. |
| Update() | Updates the position and data index of each row in this collection. |