menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartSegment - API Reference

    Show / Hide Table of Contents

    Class ChartSegment

    Inheritance
    System.Object
    ChartSegment
    AreaSegment
    BubbleSegment
    ChartDataLabel
    ColumnSegment
    DoughnutSegment
    FastColumnBitmapSegment
    FastLineBitmapSegment
    FastLineSegment
    FastScatterBitmapSegment
    FastStepLineBitmapSegment
    FunnelSegment
    LineSegment
    PieSegment
    PyramidSegment
    ScatterSegment
    SplineSegment
    StackedAreaSegment
    StepAreaSegment
    StepLineSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.Chart.WinUI.dll
    Syntax
    public abstract class ChartSegment : DependencyObject, INotifyPropertyChanged

    Constructors

    ChartSegment()

    Declaration
    protected ChartSegment()

    Fields

    FillProperty

    The DependencyProperty for Fill property.

    Declaration
    public static readonly DependencyProperty FillProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    StrokeDashArrayProperty

    The DependencyProperty for StrokeDashArray property.

    Declaration
    public static readonly DependencyProperty StrokeDashArrayProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    StrokeProperty

    The DependencyProperty for Stroke property.

    Declaration
    public static readonly DependencyProperty StrokeProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    StrokeWidthProperty

    The DependencyProperty for StrokeWidth property.

    Declaration
    public static readonly DependencyProperty StrokeWidthProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    Fill

    Gets or sets a brush value to customize the background appearance of the segment.

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

    It accepts a Microsoft.UI.Xaml.Media.Brush value and its default value is null.

    Item

    Gets or sets the data object for the segment.

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

    PolygonPoints

    Gets or sets the collection of points that define a polygon shape.

    Declaration
    public PointCollection PolygonPoints { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.PointCollection

    Series

    Gets the series associated with the segment.

    Declaration
    public ChartSeries Series { get; }
    Property Value
    Type Description
    ChartSeries

    Stroke

    Gets or sets a brush value to customize the border appearance of the segment.

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

    It accepts a Microsoft.UI.Xaml.Media.Brush value and its default value is null.

    StrokeDashArray

    Gets or sets the stroke dash array to customize the appearance of stroke.

    Declaration
    public DoubleCollection StrokeDashArray { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.DoubleCollection

    It accepts the Microsoft.UI.Xaml.Media.DoubleCollection value and the default value is null.

    StrokeWidth

    Gets or sets a value to specify the stroke thickness of the chart segment.

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

    It accepts double values and its default value is 1.

    Events

    PropertyChanged

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

    Implements

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