SparkElement
Definition
Namespace:Telerik.WinControls.UI.Sparkline
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkElement : SparkNode, IDisposable, INotifyPropertyChanged
Inheritance: objectDisposableObjectPropertyBagObjectSparkNodeSparkElement
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkElement class.
protected SparkElement()
Properties
Gets the ISparkElementPresenter instance where this element is presented.
public override ISparkElementPresenter Presenter { get; }
Overrides:
Methods
Disposes all managed resources allocated by this instance.
protected override void DisposeManagedResources()
Overrides:
Provides flexible routine for traversing all descendants of this instance.
Provides flexible routine for traversing all descendants of this instance that match the provided predicate.
public IEnumerable<SparkNode> EnumDescendants(Predicate<SparkNode> predicate, TreeTraversalMode traverseMode)
The predicate that defines the match criteria.
traverseModeTreeTraversalModeThe mode used to traverse the subtree.
Returns:IEnumerable<SparkNode>
Provides flexible routine for traversing all descendants of this instance.
public IEnumerable<SparkNode> EnumDescendants(TreeTraversalMode traverseMode)
The mode used to traverse the subtree.
Returns:IEnumerable<SparkNode>
Searches up the parent chain and returns the first parent of type T.
public T FindAncestor<T>() where T : SparkElement
T
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of type T.
public T FindDescendant<T>() where T : SparkNode
T