New to Telerik UI for WinForms? Start a free 30-day trial

Defines a strongly typed collection of column elements.

Definition

Properties

Gets or sets the column element at the specified index.

C#
ColumnElement this[int index] { get; set; }
Parameters:indexint

The zero-based index of the column element to get or set.

Property Value:

The column element at the specified index.

Methods

Adds a column element to the collection.

C#
int Add(ColumnElement value)
Parameters:valueColumnElement

The column element to add.

Returns:

int

The zero-based index at which the column is inserted.

Determines whether the collection contains the specified column element.

C#
bool Contains(ColumnElement value)
Parameters:valueColumnElement

The column element to locate.

Returns:

bool

true if the column is found; otherwise, false.

Copies the column elements to an array, starting at the specified index.

C#
void CopyTo(ColumnElement[] array, int index)
Parameters:arrayColumnElement[]

The destination array.

indexint

The zero-based index in the destination array at which copying begins.

Returns the zero-based index of the specified column element.

C#
int IndexOf(ColumnElement value)
Parameters:valueColumnElement

The column element to locate.

Returns:

int

The zero-based index of the column element, or -1 if it is not found.

Inserts a column element at the specified index.

C#
void Insert(int index, ColumnElement value)
Parameters:indexint

The zero-based index at which the column is inserted.

valueColumnElement

The column element to insert.

Removes the specified column element from the collection.

C#
void Remove(ColumnElement value)
Parameters:valueColumnElement

The column element to remove.