Class ChartElement
Base class for nodes that may have chidren.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public abstract class ChartElement : ChartNode, IDisposable, INotifyPropertyChanged
Constructors
ChartElement()
Properties
Presenter
Gets the IChart
Declaration
public override IChartElementPresenter Presenter { get; }
Property Value
Overrides
Methods
DisposeManagedResources()
Disposes all managed resources allocated by this instance.
Declaration
protected override void DisposeManagedResources()
Overrides
EnumDescendants()
Provides flexible routine for traversing all descendants of this instance.
Declaration
public IEnumerable<ChartNode> EnumDescendants()
Returns
System.
|
EnumDescendants(Predicate<ChartNode>, TreeTraversalMode)
Provides flexible routine for traversing all descendants of this instance that match the provided predicate.
Declaration
public IEnumerable<ChartNode> EnumDescendants(Predicate<ChartNode> predicate, TreeTraversalMode traverseMode)
Parameters
System. The predicate that defines the match criteria. |
Tree The mode used to traverse the subtree. |
Returns
System.
|
EnumDescendants(TreeTraversalMode)
Provides flexible routine for traversing all descendants of this instance.
Declaration
public IEnumerable<ChartNode> EnumDescendants(TreeTraversalMode traverseMode)
Parameters
Tree The mode used to traverse the subtree. |
Returns
System.
|
FindAncestor<T>()
Searches up the parent chain and returns the first parent of type T.
Declaration
public T FindAncestor<T>()
where T : ChartElement
Returns
T
|
Type Parameters
T
Must be a Chart |
FindDescendant(Predicate<ChartNode>)
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of type T.
Declaration
public ChartNode FindDescendant(Predicate<ChartNode> criteria)
Parameters
System.
|
Returns
FindDescendant<T>()
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of type T.
Declaration
public T FindDescendant<T>()
where T : ChartNode
Returns
T
|
Type Parameters
T
Must be a Chart |
IsAncestorOf(ChartNode)
Gets a boolean value that determines whether a given element resides in the element hierarchy of this element.
Declaration
public bool IsAncestorOf(ChartNode node)
Parameters
Returns
System.
|