menu

WinForms

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

    Show / Hide Table of Contents

    Class LineStyle

    Represents the line style customization used for chart elements.

    Inheritance
    System.Object
    LineStyle
    CapLineStyle
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class LineStyle : DependencyObject

    Constructors

    LineStyle()

    Called when instance created for LineStyle.

    Declaration
    public LineStyle()

    LineStyle(ChartSeriesBase)

    Called when instance created for LineStyle

    Declaration
    public LineStyle(ChartSeriesBase series)
    Parameters
    Type Name Description
    ChartSeriesBase series

    Used to specify corresponding series

    Fields

    StrokeDashArrayProperty

    The DependencyProperty for StrokeDashArray property.

    Declaration
    public static readonly DependencyProperty StrokeDashArrayProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StrokeDashCapProperty

    The DependencyProperty for StrokeDashCap property.

    Declaration
    public static readonly DependencyProperty StrokeDashCapProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StrokeDashOffsetProperty

    The DependencyProperty for StrokeDashOffset property.

    Declaration
    public static readonly DependencyProperty StrokeDashOffsetProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StrokeEndLineCapProperty

    The DependencyProperty for StrokeEndLineCap property.

    Declaration
    public static readonly DependencyProperty StrokeEndLineCapProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StrokeLineJoinProperty

    The DependencyProperty for StrokeLineJoin property.

    Declaration
    public static readonly DependencyProperty StrokeLineJoinProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StrokeMiterLimitProperty

    The DependencyProperty for StrokeMiterLimit property.

    Declaration
    public static readonly DependencyProperty StrokeMiterLimitProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StrokeProperty

    The DependencyProperty for Stroke property.

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

    StrokeThicknessProperty

    The DependencyProperty for StrokeThickness property.

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

    Properties

    Stroke

    Gets or sets a stroke brush for the line

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

    The System.Windows.Media.Brush value.

    StrokeDashArray

    Gets or sets the stroke dash array for the line.

    Declaration
    public DoubleCollection StrokeDashArray { get; set; }
    Property Value
    Type Description
    System.Windows.Media.DoubleCollection

    System.Windows.Media.DoubleCollection.

    StrokeDashCap

    Gets or sets a stroke dash cap for the line

    Declaration
    public PenLineCap StrokeDashCap { get; set; }
    Property Value
    Type
    System.Windows.Media.PenLineCap

    StrokeDashOffset

    Gets or sets the stroke dash offset for the line.

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

    The double value.

    StrokeEndLineCap

    Gets or sets a stroke end cap for the line

    Declaration
    public PenLineCap StrokeEndLineCap { get; set; }
    Property Value
    Type
    System.Windows.Media.PenLineCap

    StrokeLineJoin

    Gets or sets the line join for the stroke of the line.

    Declaration
    public PenLineJoin StrokeLineJoin { get; set; }
    Property Value
    Type Description
    System.Windows.Media.PenLineJoin

    System.Windows.Media.PenLineJoin

    StrokeMiterLimit

    Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of the shape. A Double that represents the distance within the dash pattern where a dash begins.

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

    System.Double

    StrokeThickness

    Gets or sets a stroke thickness for the line

    Declaration
    public double StrokeThickness { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved