SparkArea
Owns the series, axes, annotations, and renderer used to present one sparkline area.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class SparkArea : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement
Inheritance: objectDisposableObjectRadObjectUISparkElementSparkArea
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkArea class.
public SparkArea()
Fields
Identifies the area margin property, which defaults to no padding.
public static RadProperty MarginProperty
Properties
Gets the collection containing all the annotations presented by this instance.
public SparkAnnotationCollection Annotations { get; }
The annotations.
Gets the area model.
public SparkAreaModel AreaModel { get; }
The area model.
Gets the collection containing all the axes presented by this instance.
public SparkAxisCollection Axes { get; }
The axes.
Gets the controllers.
public SparkViewControllerCollection Controllers { get; }
The controllers.
Gets or sets the margin.
public Padding Margin { get; set; }
The margin.
Gets the renderer for this area, creating it on first access through the view's renderer event or the default renderer.
public virtual ISparkRenderer Renderer { get; }
Gets or sets the series presented by this instance.
public SparkSeries Series { get; set; }
The series.
Methods
Creates the fallback renderer used when the view's renderer event does not provide one.
protected abstract ISparkRenderer CreateDefaultRenderer()
The renderer to use for drawing this area.
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Ensures the state of the series visual.
protected virtual void EnsureSeriesVisualState()
Gets the default first axis.
Gets the default second axis.
Called when [attached].
protected override void OnAttached(UISparkElement parent)
The parent.
Overrides:
Called when [dettached].
protected override void OnDettached()
Overrides:
Renders the area with the specified context.