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

Defines a strongly typed collection of HTML export elements.

Definition

Properties

Gets or sets the element at the specified index.

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

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

Property Value:

The element at the specified index.

Methods

Adds an element to the collection.

C#
int Add(IElement value)
Parameters:valueIElement

The element to add.

Returns:

int

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

Determines whether the collection contains the specified element.

C#
bool Contains(IElement value)
Parameters:valueIElement

The element to locate.

Returns:

bool

true if the element is found; otherwise, false.

Returns the zero-based index of the specified element.

C#
int IndexOf(IElement value)
Parameters:valueIElement

The element to locate.

Returns:

int

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

Inserts an element at the specified index.

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

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

valueIElement

The element to insert.

Removes the specified element from the collection.

C#
void Remove(IElement value)
Parameters:valueIElement

The element to remove.