Class GanttViewTraverser
Represents a traverser which can traverse the hierarchical data structure of the data displayed by a Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewTraverser : ITraverser<GanttViewDataItem>, IEnumerator<GanttViewDataItem>, IDisposable, IEnumerator, IEnumerable
Constructors
GanttViewTraverser(RadGanttViewElement)
Initializes a new instance of the Gantt
Declaration
public GanttViewTraverser(RadGanttViewElement owner)
Parameters
Rad The owner. |
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public GanttViewDataItem Current { get; }
Property Value
Gantt The element in the collection at the current position of the enumerator. |
Implements
Position
Gets or sets the position.
Declaration
public object Position { get; set; }
Property Value
System. 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
System.
|
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
System. An System. |
Implements
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
System. 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
System. true if the move was successful; otherwise false |
MovePrevious()
Moves to the previous.
Declaration
public bool MovePrevious()
Returns
System.
|
Implements
MovePreviousCore()
Moves to the previous item.
Declaration
public virtual bool MovePreviousCore()
Returns
System. true if the move was successfull; otherwise false |
MoveTo(GanttViewDataItem)
Moves to the specified item.
Declaration
public bool MoveTo(GanttViewDataItem item)
Parameters
Gantt The item. |
Returns
System.
|
MoveToEnd()
Moves to the last item.
Declaration
public bool MoveToEnd()
Returns
System.
|
Implements
OnTraversing()
Raises the Traversing event.
Declaration
protected bool OnTraversing()
Returns
System.
|
OnTraversing(GanttViewTraversingEventArgs)
Raises the Traversing event.
Declaration
protected virtual void OnTraversing(GanttViewTraversingEventArgs e)
Parameters
Gantt The Gantt |
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 Type
Explicit Interface Implementations
IEnumerator.Current
Gets the element in the collection at the current position of the enumerator.
Declaration
object IEnumerator.Current { get; }
Returns
System. The element in the collection at the current position of the enumerator. |