menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartStripLine - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartStripLine

    Chart enables the user to highlight a specific region of ChartAxis by adding strip lines to it.

    Inheritance
    System.Object
    ChartStripLine
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public class ChartStripLine : FrameworkElement, INotifyPropertyChanged
    Remarks

    The strip lines length and width can be customized,a text label can be specified and also the look and feel can be customized too.

    Constructors

    ChartStripLine()

    Initializes a new instance of the ChartStripLine class.

    Declaration
    public ChartStripLine()

    Fields

    BackgroundProperty

    The DependencyProperty for Background property.

    Declaration
    public static readonly DependencyProperty BackgroundProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    BorderBrushProperty

    The DependencyProperty for BorderBrush property.

    Declaration
    public static readonly DependencyProperty BorderBrushProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    BorderThicknessProperty

    The DependencyProperty for BorderThickness property.

    Declaration
    public static readonly DependencyProperty BorderThicknessProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IsPixelWidthProperty

    The DependencyProperty for IsPixelWidth property.

    Declaration
    public static readonly DependencyProperty IsPixelWidthProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IsSegmentedProperty

    The DependencyProperty for IsSegmented property.

    Declaration
    public static readonly DependencyProperty IsSegmentedProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    LabelAngleProperty

    The DependencyProperty for LabelAngle property.

    Declaration
    public static readonly DependencyProperty LabelAngleProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    LabelHorizontalAlignmentProperty

    The DependencyProperty for LabelHorizontalAlignment property.

    Declaration
    public static readonly DependencyProperty LabelHorizontalAlignmentProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    LabelProperty

    The DependencyProperty for Label property.

    Declaration
    public static readonly DependencyProperty LabelProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    LabelTemplateProperty

    The DependencyProperty for LabelTemplate property.

    Declaration
    public static readonly DependencyProperty LabelTemplateProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    LabelVerticalAlignmentProperty

    The DependencyProperty for LabelVerticalAlignment property.

    Declaration
    public static readonly DependencyProperty LabelVerticalAlignmentProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    RepeatEveryProperty

    The DependencyProperty for RepeatEvery property.

    Declaration
    public static readonly DependencyProperty RepeatEveryProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    RepeatUntilProperty

    The DependencyProperty for RepeatUntil property.

    Declaration
    public static readonly DependencyProperty RepeatUntilProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SegmentAxisNameProperty

    The DependencyProperty for SegmentAxisName property.

    Declaration
    public static readonly DependencyProperty SegmentAxisNameProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SegmentEndValueProperty

    The DependencyProperty for SegmentEndValue property.

    Declaration
    public static readonly DependencyProperty SegmentEndValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SegmentStartValueProperty

    The DependencyProperty for SegmentStartValue property.

    Declaration
    public static readonly DependencyProperty SegmentStartValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    StartProperty

    The DependencyProperty for Start property.

    Declaration
    public static readonly DependencyProperty StartProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    WidthProperty

    The DependencyProperty for Width property.

    Declaration
    public static readonly DependencyProperty WidthProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    Background

    Gets or sets the fill color for this Stripline.

    Declaration
    public Brush Background { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The Windows.UI.Xaml.Media.Brush value.

    BorderBrush

    Gets or sets the border brush of the Stripline.

    Declaration
    public Brush BorderBrush { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The Windows.UI.Xaml.Media.Brush value.

    BorderThickness

    Gets or sets the border thickness.

    Declaration
    public Thickness BorderThickness { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Thickness

    IsPixelWidth

    Gets or sets a value indicating whether the value specified in Width property should be measured in pixels.

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

    IsSegmented

    Gets or sets a value indicating whether to enable the segmented stripline.

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

    Label

    Gets or sets the label to be displayed inside the Stripline.

    Declaration
    public object Label { get; set; }
    Property Value
    Type
    System.Object

    LabelAngle

    Gets or sets rotation angle for the Stripline angle.

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

    LabelHorizontalAlignment

    Gets or sets horizontal alignment of stripline label.

    Declaration
    public HorizontalAlignment LabelHorizontalAlignment { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.HorizontalAlignment

    LabelTemplate

    Gets or sets the custom template for the Stripline label.

    Declaration
    public DataTemplate LabelTemplate { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.DataTemplate

    Windows.UI.Xaml.DataTemplate

    LabelVerticalAlignment

    Gets or sets vertical alignment of the Stripline label.

    Declaration
    public VerticalAlignment LabelVerticalAlignment { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.VerticalAlignment

    RepeatEvery

    Gets or sets the stripline interval.

    Declaration
    public double RepeatEvery { get; set; }
    Property Value
    Type
    System.Double
    Remarks

    This property used to draw multiple striplines repeatedly.

    RepeatUntil

    Gets or sets the end value, till that striplines will be drawn.

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

    SegmentAxisName

    Gets or sets the name of the axis associated with the segmented Stripline.

    Declaration
    public string SegmentAxisName { get; set; }
    Property Value
    Type
    System.String

    SegmentEndValue

    Gets or sets the end value for the Stripline, when IsSegmented is set as true..

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

    SegmentStartValue

    Gets or sets the start value for the Stripline, when IsSegmented is set as true..

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

    Start

    Gets or sets the start range for the Stripline.

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

    Width

    Gets or sets the width of the Stripline.

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

    Methods

    Clone()

    Clone the strip line

    Declaration
    public DependencyObject Clone()
    Returns
    Type
    Windows.UI.Xaml.DependencyObject

    CloneStripline(DependencyObject)

    Declaration
    protected virtual DependencyObject CloneStripline(DependencyObject obj)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyObject obj
    Returns
    Type
    Windows.UI.Xaml.DependencyObject

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved