ClassGanttViewTraverser
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
GanttViewTraverser(RadGanttViewElement)
Initializes a new instance of the GanttViewTraverser class.
Declaration
public GanttViewTraverser(RadGanttViewElement owner)
Parameters
owner
The owner.
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public GanttViewDataItem Current { get; }
Property Value
The element in the collection at the current position of the enumerator.
Position
Gets or sets the position.
Declaration
public object Position { get; set; }
Property Value
The position.
Implements
TraverseAllItems
Gets or sets a value indicating whether the traverser will go through an item's children no matter if it is expanded or not.
Declaration
public bool TraverseAllItems { get; set; }
Property Value
true if traversing all items; otherwise, false.
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
An IEnumerator object that can be used to iterate through the collection.
Implements
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Implements
MoveNextCore()
Moves to the next item.
Declaration
public virtual bool MoveNextCore()
Returns
true if the move was successful; otherwise false
MovePrevious()
Moves to the previous.
MovePreviousCore()
Moves to the previous item.
Declaration
public virtual bool MovePreviousCore()
Returns
true if the move was successfull; otherwise false
MoveTo(GanttViewDataItem)
Moves to the specified item.
Declaration
public bool MoveTo(GanttViewDataItem item)
Parameters
item
The item.
Returns
MoveToEnd()
Moves to the last item.
OnTraversing()
Raises the event.
OnTraversing(GanttViewTraversingEventArgs)
Raises the event.
Declaration
protected virtual void OnTraversing(GanttViewTraversingEventArgs e)
Parameters
e
The GanttViewTraversingEventArgs instance containing the event data.
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Implements
Events
Traversing
Occurs when the traverser moves.
Declaration
public event GanttViewTraversingEventHandler Traversing
Event Value