ClassChartNode
Base class for all models that form the ChartArea tree.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public abstract class ChartNode : PropertyBagObject, IDisposable, INotifyPropertyChanged
Inheritance: objectDisposableObjectPropertyBagObjectChartNode
Derived Classes:
Implements:
Inherited Members
Constructors
ChartNode()
Initializes a new instance of the ChartNode class.
Declaration
protected ChartNode()
Properties
CollectionIndex
Gets the index of this node in its owning typed collection. An AxisLabelModel for example will have this property set to the index of the label within the Labels collection.
Declaration
[Browsable(false)]
public int CollectionIndex { get; }
Property Value
Index
Gets the index of this node in its parent ChartElement nodes collection.
IsArrangeValid
Gets a value indicating whether the node is laid-out on the chart scene.
Declaration
[Browsable(false)]
public bool IsArrangeValid { get; }
Property Value
IsTreeLoaded
Gets a value indicating whether the logical tree this node is part of is loaded.
Declaration
[Browsable(false)]
public virtual bool IsTreeLoaded { get; }
Property Value
Remarks
This actually checks for a valid ChartAreaModel reference and asks whether the area itself is loaded. This value may differ from the current NodeState.
LayoutSlot
Gets the rectangle (in physical coordinates) where this node resides.
Declaration
[Browsable(false)]
public RadRect LayoutSlot { get; }
Property Value
NodeState
Gets the current state of the node.
Declaration
[Browsable(false)]
public NodeState NodeState { get; }
Property Value
Parent
Gets the ChartElement where this node resides.
Declaration
[Browsable(false)]
public ChartElement Parent { get; }
Property Value
Presenter
Gets the IChartElementPresenter instance where this node is visualized.
Declaration
[Browsable(false)]
public virtual IChartElementPresenter Presenter { get; }
Property Value
Methods
Arrange(RadRect, bool)
Arranges the node within the specified layout slot.
ClearValueCore(int)
Core implementation for clearing a property value. Override to provide custom clearing logic.
Invalidate()
Delegates an "Invalidate" request to the owning IChartView instance (if any).
Declaration
public virtual void Invalidate()
SetValueCore(int, object)
Core implementation for setting a property value. Override to provide custom setting logic.
Events
PropertyChanged
Occurs when a value of some property has changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements