Represents the group traverser.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
public class PivotGridGroupTraverser : ITraverser<PivotGroupNode>, IDisposable, IEnumerator, IEnumerable
Inheritance: objectPivotGridGroupTraverser
Implements:
Constructors
Initializes a new instance of the PivotGridGroupTraverser class.
Properties
Gets the element in the collection at the current position of the enumerator.
public PivotGroupNode Current { get; }
The element in the collection at the current position of the enumerator.
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:
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: InvalidOperationExceptionThe collection was modified after the enumerator was created.
Implements:
Moves to previous.
This operation is not implemented; calling it throws NotImplementedException.
public bool MoveToEnd()
The operation is not implemented.
Implements:
Raises ItemsNavigating for the current node and reports whether traversal should skip it.
protected virtual bool OnItemsNavigating(PivotGroupNode current)
The group node currently being traversed.
Returns:true to omit current and continue navigating; otherwise,
false to include it.
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
Occurs when traversal reaches a group node and before it is returned. Set SkipItem to omit the node.
public event ItemsNavigatingEventHandler<PivotGroupNode> ItemsNavigating