Class GanttViewTraverser
Represents a traverser which can traverse the hierarchical data structure of the data displayed by a RadGanttView.
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 GanttViewTraverser class.
Declaration
public GanttViewTraverser(RadGanttViewElement owner)
Parameters
|
RadGanttViewElement
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
|
GanttViewDataItem
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.Object
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.Boolean
|
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.Collections.IEnumerator
An System.Collections.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
|
System.Boolean
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.Boolean
true if the move was successful; otherwise false |
MovePrevious()
Moves to the previous.
Declaration
public bool MovePrevious()
Returns
|
System.Boolean
|
Implements
MovePreviousCore()
Moves to the previous item.
Declaration
public virtual bool MovePreviousCore()
Returns
|
System.Boolean
true if the move was successfull; otherwise false |
MoveTo(GanttViewDataItem)
Moves to the specified item.
Declaration
public bool MoveTo(GanttViewDataItem item)
Parameters
|
GanttViewDataItem
item
The item. |
Returns
|
System.Boolean
|
MoveToEnd()
Moves to the last item.
Declaration
public bool MoveToEnd()
Returns
|
System.Boolean
|
Implements
OnTraversing()
Raises the Traversing event.
Declaration
protected bool OnTraversing()
Returns
|
System.Boolean
|
OnTraversing(GanttViewTraversingEventArgs)
Raises the Traversing event.
Declaration
protected virtual void OnTraversing(GanttViewTraversingEventArgs e)
Parameters
|
GanttViewTraversingEventArgs
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 Type
|
GanttViewTraversingEventHandler
|
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.Object
The element in the collection at the current position of the enumerator. |