menu

WinUI

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

    Show / Hide Table of Contents

    Class LineSegment

    Inheritance
    System.Object
    ChartSegment
    LineSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSegment.Fill
    ChartSegment.FillProperty
    ChartSegment.Item
    ChartSegment.PolygonPoints
    ChartSegment.PropertyChanged
    ChartSegment.Series
    ChartSegment.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeDashArrayProperty
    ChartSegment.StrokeProperty
    ChartSegment.StrokeWidth
    ChartSegment.StrokeWidthProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.Chart.WinUI.dll
    Syntax
    public class LineSegment : ChartSegment, INotifyPropertyChanged

    Constructors

    LineSegment()

    Declaration
    public LineSegment()

    LineSegment(Double, Double, Double, Double, ChartSeries, Object)

    Declaration
    public LineSegment(double x1, double y1, double x2, double y2, ChartSeries lineSeries, object item)
    Parameters
    Type Name Description
    System.Double x1
    System.Double y1
    System.Double x2
    System.Double y2
    ChartSeries lineSeries
    System.Object item

    LineSegment(Double, Double, Double, Double, Object)

    Declaration
    public LineSegment(double x1, double y1, double X2, double Y2, object item)
    Parameters
    Type Name Description
    System.Double x1
    System.Double y1
    System.Double X2
    System.Double Y2
    System.Object item

    Properties

    X1

    Gets or sets the x-value for the starting point of the line.

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

    X1Data

    Gets or sets the x-value for the ending point.

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

    X1Value

    Gets or sets the x-value for the starting point of the line segment.

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

    X2

    Gets or sets the x-value for the ending point of the line.

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

    X2Value

    Gets or sets the x-value for the ending point of the line segment.

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

    XData

    Gets or sets the x-value for the starting point.

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

    Y1

    Gets or sets the y-value for the starting point of the line.

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

    Y1Data

    Gets or sets the y-value for the ending point

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

    Y1Value

    Gets or sets the y-value for the starting point of the line segment.

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

    Y2

    Gets or sets the y-value for the ending point of the line.

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

    Y2Value

    Gets or sets the y-value for the ending point of the line segment.

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

    YData

    Gets or sets the y-value for the starting point.

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

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved