ViewInfoTraverser
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
Initializes a new instance of the ViewInfoTraverser class.
Initializes a new instance of the ViewInfoTraverser class.
public ViewInfoTraverser(ViewInfoTraverser.ViewInfoEnumeratorPosition position)
The position.
Initializes a new instance of the ViewInfoTraverser class.
public ViewInfoTraverser(ViewInfoTraverser traverser)
The traverser.
Properties
Gets the collection.
protected ITraversable Collection { get; }
The collection.
Gets the element in the collection at the current position of the enumerator.
public GridViewRowInfo Current { get; }
The element in the collection at the current position of the enumerator.
Gets or sets the filter by pin position.
public bool FilterByPinPosition { get; set; }
The filter by pin position.
Gets or sets the filtered pin position.
public PinnedRowPosition FilteredPinPosition { get; set; }
The filtered pin position.
Gets or sets the position.
public ViewInfoTraverser.ViewInfoEnumeratorPosition Position { get; set; }
The position.
Gets or sets whether to process the hidden rows.
public bool ProcessHiddenRows { get; set; }
The process hidden rows.
Gets the view info.
public GridViewInfo ViewInfo { get; }
The view info.
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Implements:
Returns an enumerator that iterates through a collection.
public IEnumerator GetEnumerator()
An IEnumerator object that can be used to iterate through the collection.
Implements:
Gets the row count.
Goes to the specific row.
Goes to the row at the specific index.
public GridViewRowInfo GoToRowIndex(int rowIndex)
Index of the row.
Returns:Determines whether the specified row is first.
Determines whether the specified row is last.
Advances the enumerator to the next element of the collection.
public bool MoveNext()
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:
Moves the previous.
Moves to end.
Called when the row is visible.
Sets the enumerator to its initial position, which is before the first element in the collection.
public void Reset()
The collection was modified after the enumerator was created.
Implements:
Events
public event RowEnumeratorEventHandler RowVisible