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

Enumerates the elements in a RadElementCollection.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class RadElementCollection.RadElementEnumerator : IEnumerator, IDisposable

Inheritance: objectRadElementCollection.RadElementEnumerator

Implements: IDisposableIEnumerator

Constructors

Initializes an enumerator for the specified collection.

C#
public RadElementEnumerator(RadElementCollection mappings)
Parameters:mappingsRadElementCollection

The collection to enumerate.

Properties

Gets the current element in the collection.

C#
public RadElement Current { get; }

Methods

Advances the enumerator to the next element.

C#
public bool MoveNext()
Returns:

bool

true if the enumerator advanced; otherwise, false.

Returns the enumerator to its initial position before the first element.

C#
public void Reset()