GanttViewTraverser
Represents a traverser which can traverse the hierarchical data structure of the data displayed by a RadGanttView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewTraverser : ITraverser<GanttViewDataItem>, IDisposable, IEnumerator, IEnumerable
Inheritance: objectGanttViewTraverser
Implements:
Constructors
Initializes a new instance of the GanttViewTraverser class.
public GanttViewTraverser(RadGanttViewElement owner)
The owner.
Properties
Gets the element in the collection at the current position of the enumerator.
public GanttViewDataItem Current { get; }
The element in the collection at the current position of the enumerator.
Gets or sets the position.
public object Position { get; set; }
The position.
Implements:
Gets or sets a value indicating whether the traverser will go through an item's children no matter if it is expanded or not.
public bool TraverseAllItems { get; set; }
true if traversing all items; otherwise, false.
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.
Implements:
Moves to the next item.
public virtual bool MoveNextCore()
true if the move was successful; otherwise false
Moves to the previous.
Moves to the previous item.
public virtual bool MovePreviousCore()
true if the move was successfull; otherwise false
Moves to the specified item.
Moves to the last item.
Raises the event.
Raises the event.
protected virtual void OnTraversing(GanttViewTraversingEventArgs e)
The GanttViewTraversingEventArgs instance containing the event data.
Sets the enumerator to its initial position, which is before the first element in the collection.
public void Reset()
Implements:
Events
Occurs when the traverser moves.
public event GanttViewTraversingEventHandler Traversing