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 View
Declaration
public ViewInfoTraverser(GridViewInfo viewInfo)
Parameters
Grid The view info. |
ViewInfoTraverser(ViewInfoTraverser)
Initializes a new instance of the View
Declaration
public ViewInfoTraverser(ViewInfoTraverser traverser)
Parameters
View The traverser. |
ViewInfoTraverser(ViewInfoTraverser.ViewInfoEnumeratorPosition)
Initializes a new instance of the View
Declaration
public ViewInfoTraverser(ViewInfoTraverser.ViewInfoEnumeratorPosition position)
Parameters
View 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
Grid 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. The filter by pin position. |
FilteredPinPosition
Gets or sets the filtered pin position.
Declaration
public PinnedRowPosition FilteredPinPosition { get; set; }
Property Value
Pinned The filtered pin position. |
Position
Gets or sets the position.
Declaration
public ViewInfoTraverser.ViewInfoEnumeratorPosition Position { get; set; }
Property Value
View The position. |
ProcessHiddenRows
Gets or sets whether to process the hidden rows.
Declaration
public bool ProcessHiddenRows { get; set; }
Property Value
System. The process hidden rows. |
ViewInfo
Gets the view info.
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
Grid 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. An System. |
Implements
GetRowCount()
Gets the row count.
Declaration
public int GetRowCount()
Returns
System.
|
GoToRow(GridViewRowInfo)
Goes to the specific row.
Declaration
public int GoToRow(GridViewRowInfo row)
Parameters
Grid The row. |
Returns
System.
|
GoToRowIndex(Int32)
Goes to the row at the specific index.
Declaration
public GridViewRowInfo GoToRowIndex(int rowIndex)
Parameters
System. Index of the row. |
Returns
IsFirstRow(GridViewRowInfo)
Determines whether the specified row is first.
Declaration
public bool IsFirstRow(GridViewRowInfo row)
Parameters
Grid The row. |
Returns
System.
|
IsLastRow(GridViewRowInfo)
Determines whether the specified row is last.
Declaration
public bool IsLastRow(GridViewRowInfo row)
Parameters
Grid The row. |
Returns
System.
|
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
System. 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. The collection was modified after the enumerator was created. |
MovePrevious()
Moves the previous.
Declaration
public bool MovePrevious()
Returns
System.
|
MoveToEnd()
Moves to end.
Declaration
public bool MoveToEnd()
Returns
System.
|
Implements
OnRowVisible()
Called when the row is visible.
Declaration
protected virtual bool OnRowVisible()
Returns
System.
|
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Implements
Exceptions
System. The collection was modified after the enumerator was created. |
Events
RowVisible
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
System.
|
Implements
ITraverser<GridViewRowInfo>.MovePrevious()
Declaration
bool ITraverser<GridViewRowInfo>.MovePrevious()
Returns
System.
|
Implements
ITraverser<GridViewRowInfo>.Position
Declaration
object ITraverser<GridViewRowInfo>.Position { get; set; }
Returns
System.
|