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

Defines a strongly typed collection of style elements.

Definition

Properties

Gets or sets the style element at the specified index.

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

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

Property Value:

The style element at the specified index.

Methods

Adds a style element to the collection.

C#
int Add(SingleStyleElement value)
Parameters:valueSingleStyleElement

The style element to add.

Returns:

int

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

Determines whether the collection contains the specified style element.

C#
bool Contains(SingleStyleElement value)
Parameters:valueSingleStyleElement

The style element to locate.

Returns:

bool

true if the style is found; otherwise, false.

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

C#
void CopyTo(SingleStyleElement[] array, int index)
Parameters:arraySingleStyleElement[]

The destination array.

indexint

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

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

C#
int IndexOf(SingleStyleElement value)
Parameters:valueSingleStyleElement

The style element to locate.

Returns:

int

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

Inserts a style element at the specified index.

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

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

valueSingleStyleElement

The style element to insert.

Removes the specified style element from the collection.

C#
void Remove(SingleStyleElement value)
Parameters:valueSingleStyleElement

The style element to remove.