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

Defines a strongly typed collection of border style elements.

Definition

Properties

Gets or sets the border style element at the specified index.

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

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

Property Value:

The border style element at the specified index.

Methods

Adds a border style element to the collection.

C#
int Add(BorderStyles value)
Parameters:valueBorderStyles

The border style element to add.

Returns:

int

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

Determines whether the collection contains the specified border style element.

C#
bool Contains(BorderStyles value)
Parameters:valueBorderStyles

The border style element to locate.

Returns:

bool

true if the border style is found; otherwise, false.

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

C#
void CopyTo(BorderStyles[] array, int index)
Parameters:arrayBorderStyles[]

The destination array.

indexint

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

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

C#
int IndexOf(BorderStyles value)
Parameters:valueBorderStyles

The border style element to locate.

Returns:

int

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

Inserts a border style element at the specified index.

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

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

valueBorderStyles

The border style element to insert.

Removes the specified border style element from the collection.

C#
void Remove(BorderStyles value)
Parameters:valueBorderStyles

The border style element to remove.