ChartNode
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
Initializes a new instance of the ChartNode class.
protected ChartNode()
Properties
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.
[Browsable(false)]
public int CollectionIndex { get; }
Gets the index of this node in its parent ChartElement nodes collection.
[Browsable(false)]
public int Index { get; }
Gets a value indicating whether the node is laid-out on the chart scene.
[Browsable(false)]
public bool IsArrangeValid { get; }
Gets a value indicating whether the logical tree this node is part of is loaded.
[Browsable(false)]
public virtual bool IsTreeLoaded { get; }
This actually checks for a valid ChartAreaModel reference and asks whether the area itself is loaded. This value may differ from the current NodeState.
Gets the rectangle (in physical coordinates) where this node resides.
[Browsable(false)]
public RadRect LayoutSlot { get; }
Gets the current state of the node.
[Browsable(false)]
public NodeState NodeState { get; }
Gets the ChartElement where this node resides.
[Browsable(false)]
public ChartElement Parent { get; }
Gets the IChartElementPresenter instance where this node is visualized.
[Browsable(false)]
public virtual IChartElementPresenter Presenter { get; }
Methods
Removes a property value and conditionally dispatches changing and changed notifications according to this node's tracking flags. A changing notification can cancel the removal.
Delegates an "Invalidate" request to the owning IChartView instance (if any).
public virtual void Invalidate()
Applies a property value and conditionally dispatches changing and changed notifications according to this node's tracking flags. A changing notification can cancel the update.
public override bool SetValueCore(int key, object value)
The property key whose value is being changed.
valueobjectThe value to store for key.
When tracking is disabled, the base property-store result; otherwise, true if the value is applied or false if it is unchanged or the changing notification cancels the update.
Overrides:
Events
Occurs when a value of some property has changed.
public event PropertyChangedEventHandler PropertyChanged
Implements: