Class ViewInfoTraverser
Represents a traverser for the data rows.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ViewInfoTraverser : ITraverser<GridViewRowInfo>, IEnumerator<GridViewRowInfo>, IDisposable, IEnumerator, IEnumerable
Constructors
ViewInfoTraverser(GridViewInfo)
Initializes a new instance of the ViewInfoTraverser class.
Declaration
public ViewInfoTraverser(GridViewInfo viewInfo)
Parameters
|
GridViewInfo
viewInfo
The view info. |
ViewInfoTraverser(ViewInfoTraverser)
Initializes a new instance of the ViewInfoTraverser class.
Declaration
public ViewInfoTraverser(ViewInfoTraverser traverser)
Parameters
|
ViewInfoTraverser
traverser
The traverser. |
ViewInfoTraverser(ViewInfoTraverser.ViewInfoEnumeratorPosition)
Initializes a new instance of the ViewInfoTraverser class.
Declaration
public ViewInfoTraverser(ViewInfoTraverser.ViewInfoEnumeratorPosition position)
Parameters
|
ViewInfoTraverser.ViewInfoEnumeratorPosition
position
The position. |
Properties
Collection
Gets the collection.
Declaration
protected ITraversable Collection { get; }
Property Value
|
ITraversable
The collection. |
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public GridViewRowInfo Current { get; }
Property Value
|
GridViewRowInfo
The element in the collection at the current position of the enumerator. |
Implements
FilterByPinPosition
Gets or sets the filter by pin position.
Declaration
public bool FilterByPinPosition { get; set; }
Property Value
|
System.Boolean
The filter by pin position. |
FilteredPinPosition
Gets or sets the filtered pin position.
Declaration
public PinnedRowPosition FilteredPinPosition { get; set; }
Property Value
|
PinnedRowPosition
The filtered pin position. |
Position
Gets or sets the position.
Declaration
public ViewInfoTraverser.ViewInfoEnumeratorPosition Position { get; set; }
Property Value
|
ViewInfoTraverser.ViewInfoEnumeratorPosition
The position. |
ProcessHiddenRows
Gets or sets whether to process the hidden rows.
Declaration
public bool ProcessHiddenRows { get; set; }
Property Value
|
System.Boolean
The process hidden rows. |
ViewInfo
Gets the view info.
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
|
GridViewInfo
The view info. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
|
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |
Implements
GetRowCount()
Gets the row count.
Declaration
public int GetRowCount()
Returns
|
System.Int32
|
GoToRow(GridViewRowInfo)
Goes to the specific row.
Declaration
public int GoToRow(GridViewRowInfo row)
Parameters
|
GridViewRowInfo
row
The row. |
Returns
|
System.Int32
|
GoToRowIndex(Int32)
Goes to the row at the specific index.
Declaration
public GridViewRowInfo GoToRowIndex(int rowIndex)
Parameters
|
System.Int32
rowIndex
Index of the row. |
Returns
|
GridViewRowInfo
|
IsFirstRow(GridViewRowInfo)
Determines whether the specified row is first.
Declaration
public bool IsFirstRow(GridViewRowInfo row)
Parameters
|
GridViewRowInfo
row
The row. |
Returns
|
System.Boolean
|
IsLastRow(GridViewRowInfo)
Determines whether the specified row is last.
Declaration
public bool IsLastRow(GridViewRowInfo row)
Parameters
|
GridViewRowInfo
row
The row. |
Returns
|
System.Boolean
|
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. |
MovePrevious()
Moves the previous.
Declaration
public bool MovePrevious()
Returns
|
System.Boolean
|
MoveToEnd()
Moves to end.
Declaration
public bool MoveToEnd()
Returns
|
System.Boolean
|
Implements
OnRowVisible()
Called when the row is visible.
Declaration
protected virtual bool OnRowVisible()
Returns
|
System.Boolean
|
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. |
Events
RowVisible
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
|
System.Object
|
Implements
ITraverser<GridViewRowInfo>.MovePrevious()
Declaration
bool ITraverser<GridViewRowInfo>.MovePrevious()
Returns
|
System.Boolean
|
Implements
ITraverser<GridViewRowInfo>.Position
Declaration
object ITraverser<GridViewRowInfo>.Position { get; set; }
Returns
|
System.Object
|