WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SparkLinePresenter - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SparkLinePresenter

    Represents the Class SparkLinePresenter for draw SparkLine

    Inheritance
    System.Object
    SparkLinePresenter
    LinePresenter
    Namespace: Syncfusion.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public abstract class SparkLinePresenter : FrameworkElement

    Constructors

    SparkLinePresenter()

    Called when instance created for SparkLinePresenter

    Declaration
    public SparkLinePresenter()

    Fields

    DrawingPointsProperty

    Using a DependencyProperty as the backing store for DrawingPoints. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DrawingPointsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IndexProperty

    Using a DependencyProperty as the backing store for Index. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IndexProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    InteriorProperty

    Using a DependencyProperty as the backing store for Interior. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty InteriorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    PenProperty

    Identifies the Pen dependency property.

    Declaration
    public static readonly DependencyProperty PenProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StrokeProperty

    Using a DependencyProperty as the backing store for Stroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty StrokeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StrokeThicknessProperty

    Using a DependencyProperty as the backing store for StrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty StrokeThicknessProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    AffectRender

    Get and Set AffectRenderProperty

    Declaration
    public bool AffectRender { get; set; }
    Property Value
    Type Description
    System.Boolean

    DrawingPoints

    Get and Set DrawingPointsProperty

    Declaration
    public IEnumerable DrawingPoints { get; set; }
    Property Value
    Type Description
    System.Collections.IEnumerable

    Interior

    Get and Set InteriorProperty

    Declaration
    public Brush Interior { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    PointView

    CLR property PointView defiinition

    Declaration
    protected CollectionView PointView { get; }
    Property Value
    Type Description
    System.Windows.Data.CollectionView

    Stroke

    Get and Set StrokeProperty

    Declaration
    public Brush Stroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    StrokeThickness

    Get and Set StrokeThicknessProperty

    Declaration
    public double StrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    VisualChildrenCount

    Gets the number of visual child elements.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type Description
    System.Int32

    The number of visual child elements for this element.

    Remarks

    VisualChildrenCount is the Override method used to get the count of the visual child from the visual collection.

    VisualCollection

    Get and Set VisualCollectioProeprty

    Declaration
    protected VisualCollection VisualCollection { get; }
    Property Value
    Type Description
    System.Windows.Media.VisualCollection

    Methods

    GetIndex(DependencyObject)

    Method implemetation for getindex from DependencyObject

    Declaration
    public static int GetIndex(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Int32

    GetPen(DependencyObject)

    Method implementation for return pen value from given DependencyObject

    Declaration
    public static Pen GetPen(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Windows.Media.Pen

    GetVisualChild(Int32)

    Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the requested child element in the collection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.

    Remarks

    GetVisualChild is the Override method used to get the visual child from the visual collection based on the index value.

    OnDrawingPointsChanged(DependencyPropertyChangedEventArgs)

    Virtual method created for OnDrawingPointsChanged

    Declaration
    protected virtual void OnDrawingPointsChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    SetIndex(DependencyObject, Int32)

    method implementation for setindex from the given integer value

    Declaration
    public static void SetIndex(DependencyObject obj, int value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Int32 value

    SetPen(DependencyObject, Pen)

    Method implemetation for Set pen value to given DependencyObject

    Declaration
    public static void SetPen(DependencyObject obj, Pen value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.Pen value
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved