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

Defines a strongly typed collection of worksheet elements.

Definition

Properties

Gets or sets the worksheet element at the specified index.

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

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

Property Value:

The worksheet element at the specified index.

Methods

Adds a worksheet element to the collection.

C#
int Add(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to add.

Returns:

int

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

Determines whether the collection contains the specified worksheet element.

C#
bool Contains(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to locate.

Returns:

bool

true if the worksheet is found; otherwise, false.

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

C#
void CopyTo(WorksheetElement[] array, int index)
Parameters:arrayWorksheetElement[]

The destination array.

indexint

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

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

C#
int IndexOf(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to locate.

Returns:

int

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

Inserts a worksheet element at the specified index.

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

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

valueWorksheetElement

The worksheet element to insert.

Removes the specified worksheet element from the collection.

C#
void Remove(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to remove.