Class
RowLayoutColumnsCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class RowLayoutColumnsCollection : IEnumerable

Inheritance: objectRowLayoutColumnsCollection

Implements: IEnumerable

Constructors

RowLayoutColumnsCollection()

Declaration

cs-api-definition
public RowLayoutColumnsCollection()

Properties

Count

Gets the number of elements contained in the ICollection<T>.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

The number of elements contained in the ICollection<T>.

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

true if the ICollection<T> is read-only; otherwise, false.

RightToLeft

Gets or sets the right to left mode.

Declaration

cs-api-definition
public bool RightToLeft { get; set; }

Property Value

bool

The right to left.

this[int]

Gets or sets the GridViewColumn at the specified index.

Declaration

cs-api-definition
public GridViewColumn this[int index] { get; set; }

Parameters

index

int

Property Value

GridViewColumn

Methods

Add(GridViewColumn)

Adds the specified item.

Declaration

cs-api-definition
public void Add(GridViewColumn item)

Parameters

item

GridViewColumn

The item.

Clear()

Removes all items from the ICollection<T>.

Declaration

cs-api-definition
public void Clear()

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Contains(GridViewColumn)

Determines whether the specified columns is contained.

Declaration

cs-api-definition
public bool Contains(GridViewColumn value)

Parameters

value

GridViewColumn

The value.

Returns

bool

CopyTo(GridViewColumn[], int)

Copies to the specified array starting at the specified index of the target array.

Declaration

cs-api-definition
public void CopyTo(GridViewColumn[] array, int index)

Parameters

array

GridViewColumn[]

The array.

index

int

The index.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<GridViewColumn> GetEnumerator()

Returns

IEnumerator<GridViewColumn>

A IEnumerator<T> that can be used to iterate through the collection.

IndexOf(GridViewColumn)

Returns the index of the specified column.

Declaration

cs-api-definition
public int IndexOf(GridViewColumn value)

Parameters

value

GridViewColumn

The value.

Returns

int

Insert(int, GridViewColumn)

Inserts the specified index.

Declaration

cs-api-definition
public void Insert(int index, GridViewColumn item)

Parameters

index

int

The index.

item

GridViewColumn

The item.

Remove(GridViewColumn)

Removes the specified item.

Declaration

cs-api-definition
public bool Remove(GridViewColumn item)

Parameters

item

GridViewColumn

The item.

Returns

bool

RemoveAt(int)

Removes the IList<T> item at the specified index.

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

The zero-based index of the item to remove.

Exceptions

ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.