Class
PivotGridGroupTraverser

Represents the group traverser.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

cs-api-definition
public class PivotGridGroupTraverser : ITraverser<PivotGroupNode>, IDisposable, IEnumerator, IEnumerable

Inheritance: objectPivotGridGroupTraverser

Implements: IDisposableIEnumerableIEnumeratorITraverser<PivotGroupNode>

Constructors

PivotGridGroupTraverser(PivotGroupNode)

Initializes a new instance of the PivotGridGroupTraverser class.

Declaration

cs-api-definition
public PivotGridGroupTraverser(PivotGroupNode root)

Parameters

root

PivotGroupNode

The root.

Properties

Current

Gets the element in the collection at the current position of the enumerator.

Declaration

cs-api-definition
public PivotGroupNode Current { get; }

Property Value

PivotGroupNode

The element in the collection at the current position of the enumerator.

Position

Gets or sets the position.

Declaration

cs-api-definition
public object Position { get; set; }

Property Value

object

The position.

Implements ITraverser<PivotGroupNode>.Position

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration

cs-api-definition
public IEnumerator GetEnumerator()

Returns

IEnumerator

An IEnumerator object that can be used to iterate through the collection.

Implements IEnumerable.GetEnumerator()

MoveNext()

Advances the enumerator to the next element of the collection.

Declaration

cs-api-definition
public bool MoveNext()

Returns

bool

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Exceptions

InvalidOperationException

The collection was modified after the enumerator was created.

Implements IEnumerator.MoveNext()

MovePrevious()

Moves to previous.

Declaration

cs-api-definition
public bool MovePrevious()

Returns

bool

Implements ITraverser<PivotGroupNode>.MovePrevious()

MoveToEnd()

Moves to end.

Declaration

cs-api-definition
public bool MoveToEnd()

Returns

bool

Implements ITraverser<PivotGroupNode>.MoveToEnd()

OnItemsNavigating(PivotGroupNode)

Called when the items are navigating.

Declaration

cs-api-definition
protected virtual bool OnItemsNavigating(PivotGroupNode current)

Parameters

current

PivotGroupNode

The current.

Returns

bool

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

Declaration

cs-api-definition
public void Reset()

Exceptions

InvalidOperationException

The collection was modified after the enumerator was created.

Implements IEnumerator.Reset()

Events

ItemsNavigating

Declaration

cs-api-definition
public event ItemsNavigatingEventHandler<PivotGroupNode> ItemsNavigating

Event Value

ItemsNavigatingEventHandler<PivotGroupNode>