ClassViewInfoTraverser
Represents a traverser for the data rows.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class ViewInfoTraverser : ITraverser<GridViewRowInfo>, IDisposable, IEnumerator, IEnumerable
Inheritance: objectViewInfoTraverser
Implements:
Constructors
ViewInfoTraverser(GridViewInfo)
Initializes a new instance of the ViewInfoTraverser class.
Declaration
public ViewInfoTraverser(GridViewInfo viewInfo)
Parameters
viewInfo
The view info.
ViewInfoTraverser(ViewInfoEnumeratorPosition)
Initializes a new instance of the ViewInfoTraverser class.
Declaration
public ViewInfoTraverser(ViewInfoTraverser.ViewInfoEnumeratorPosition position)
Parameters
position
ViewInfoTraverser.ViewInfoEnumeratorPosition
The position.
ViewInfoTraverser(ViewInfoTraverser)
Initializes a new instance of the ViewInfoTraverser class.
Declaration
public ViewInfoTraverser(ViewInfoTraverser traverser)
Parameters
traverser
The traverser.
Properties
Collection
Gets the collection.
Declaration
protected ITraversable Collection { get; }
Property Value
The collection.
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public GridViewRowInfo Current { get; }
Property Value
The element in the collection at the current position of the enumerator.
FilterByPinPosition
Gets or sets the filter by pin position.
Declaration
public bool FilterByPinPosition { get; set; }
Property Value
The filter by pin position.
FilteredPinPosition
Gets or sets the filtered pin position.
Declaration
public PinnedRowPosition FilteredPinPosition { get; set; }
Property Value
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
The process hidden rows.
ViewInfo
Gets the view info.
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
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
An IEnumerator object that can be used to iterate through the collection.
Implements
GoToRow(GridViewRowInfo)
Goes to the specific row.
Declaration
public int GoToRow(GridViewRowInfo row)
Parameters
row
The row.
Returns
GoToRowIndex(int)
Goes to the row at the specific index.
Declaration
public GridViewRowInfo GoToRowIndex(int rowIndex)
Parameters
rowIndex
Index of the row.
Returns
IsFirstRow(GridViewRowInfo)
Determines whether the specified row is first.
Declaration
public bool IsFirstRow(GridViewRowInfo row)
Parameters
row
The row.
Returns
IsLastRow(GridViewRowInfo)
Determines whether the specified row is last.
Declaration
public bool IsLastRow(GridViewRowInfo row)
Parameters
row
The row.
Returns
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Exceptions
The collection was modified after the enumerator was created.
Implements
MovePrevious()
Moves the previous.
MoveToEnd()
Moves to end.
OnRowVisible()
Called when the row is visible.
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Exceptions
The collection was modified after the enumerator was created.
Implements
Events
RowVisible
Declaration
public event RowEnumeratorEventHandler RowVisible
Event Value