New to Telerik UI for WPFStart a free 30-day trial

Base class for all models that form the ChartArea tree.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public abstract class ChartNode : PropertyBagObject, INotifyPropertyChanged

Inheritance: objectPropertyBagObjectChartNode

Derived Classes: ChartElementContentNodeDataPoint

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the ChartNode class.

C#
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.

C#
public int CollectionIndex { get; }

Gets the index of this node in its parent ChartElement nodes collection.

C#
public int Index { get; }

Gets a value indicating whether the node is laid-out on the chart scene.

C#
public bool IsArrangeValid { get; }

Gets a value indicating whether the logical tree this node is part of is loaded.

C#
public virtual bool IsTreeLoaded { get; }
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.

Gets the rectangle (in physical coordinates) where this node resides.

C#
public RadRect LayoutSlot { get; }

Gets the current state of the node.

C#
public NodeState NodeState { get; }

Gets the ChartElement where this node resides.

C#
public ChartElement Parent { get; }

Gets the IChartElementPresenter instance where this node is visualized.

C#
public virtual IChartElementPresenter Presenter { get; }

Methods

Arranges the node within the specified layout slot.

C#
public RadRect Arrange(RadRect rect, bool shouldRoundLayout = true)
Parameters:rectRadRectshouldRoundLayoutboolReturns:

RadRect

Delegates an "Invalidate" request to the owning IChartView instance (if any).

C#
public virtual void Invalidate()

Events

Occurs when a value of some property has changed.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged