Class GridSortFieldEnumerator
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridSortFieldEnumerator : IEnumerator<GridSortField>, IDisposable, IEnumerator
Constructors
GridSortFieldEnumerator(RadCollectionView<GridViewRowInfo>)
Initializes a new instance of the GridSortFieldEnumerator class.
Declaration
public GridSortFieldEnumerator(RadCollectionView<GridViewRowInfo> dataView)
Parameters
RadCollectionView<GridViewRowInfo>
dataView
The data view. |
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public GridSortField Current { get; }
Property Value
GridSortField
The element in the collection at the current position of the enumerator. |
Implements
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
System.Boolean
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Implements
Exceptions
System.InvalidOperationException
The collection was modified after the enumerator was created. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Implements
Exceptions
System.InvalidOperationException
The collection was modified after the enumerator was created. |
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
System.Object
|