ClassSparkNode
Definition
Namespace:Telerik.WinControls.UI.Sparkline
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class SparkNode : PropertyBagObject, IDisposable, INotifyPropertyChanged
Inheritance: objectDisposableObjectPropertyBagObjectSparkNode
Derived Classes:
Implements:
Inherited Members
Constructors
SparkNode()
Initializes a new instance of the SparkNode class.
Declaration
protected SparkNode()
Properties
CollectionIndex
Gets the index of this node in its owning typed collection.
Declaration
[Browsable(false)]
public int CollectionIndex { get; }
Property Value
Index
Gets the index of this node in its parent SparkElement 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 SparkAreaModel 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 SparkElement where this node resides.
Declaration
[Browsable(false)]
public SparkElement Parent { get; }
Property Value
Presenter
Gets the ISparkElementPresenter instance where this node is visualized.
Declaration
[Browsable(false)]
public virtual ISparkElementPresenter Presenter { get; }
Property Value
SparkArea
Gets the spark area whre this node resides.
Declaration
[Browsable(false)]
public SparkAreaModel SparkArea { 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 ISparkView instance (if any).
Declaration
public virtual void Invalidate()
SetValueCore(int, object)
Core implementation for setting a property value. Override to provide custom setting logic.
UpdateLayoutSlotHeight(double)
Declaration
protected virtual void UpdateLayoutSlotHeight(double newHeight)
Parameters
newHeight
UpdateLayoutSlotWidth(double)
Declaration
protected virtual void UpdateLayoutSlotWidth(double newWidth)
Parameters
newWidth
UpdateLayoutSlotX(double)
Declaration
protected virtual void UpdateLayoutSlotX(double newX)
Parameters
newX
UpdateLayoutSlotY(double)
Declaration
protected virtual void UpdateLayoutSlotY(double newY)
Parameters
newY
Events
PropertyChanged
Occurs when a value of some property has changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements