menu

Class DoughnutSegment - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DoughnutSegment

    Inheritance
    System.Object
    ChartSegment
    DoughnutSegment
    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 DoughnutSegment : ChartSegment, INotifyPropertyChanged

    Constructors

    DoughnutSegment()

    Declaration
    public DoughnutSegment()

    DoughnutSegment(Double, Double, DoughnutSeries)

    Declaration
    public DoughnutSegment(double startAngle, double endAngle, DoughnutSeries series)
    Parameters
    Type Name Description
    System.Double startAngle
    System.Double endAngle
    DoughnutSeries series

    Fields

    ActualEndAngleProperty

    The DependencyProperty for ActualEndAngle property.

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

    ActualStartAngleProperty

    The DependencyProperty for ActualStartAngle property.

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

    IsExplodedProperty

    The DependencyProperty for IsExploded property.

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

    TrackBorderColorProperty

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

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

    TrackBorderWidthProperty

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

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

    Properties

    ActualEndAngle

    Gets or sets a value to change the end angle of this segment slice.

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

    It accepts double values and its default value is 0.

    ActualStartAngle

    Gets or sets a value to change the start angle of this segment slice.

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

    It accepts double values and its default value is 0.

    AngleOfSlice

    Gets the actual angle of this segment slice.

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

    EndAngle

    Gets the end angle of this segment slice.

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

    IsExploded

    Gets or sets a value that indicates whether this segment can be exploded or not.

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

    It accepts boolean values and its default value is false.

    StartAngle

    Gets the start angle of this segment slice.

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

    TrackBorderColor

    Gets or sets a brush value to customize the appearance of the track area's border color.

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

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

    TrackBorderWidth

    Gets or sets a value to modify the border width of the track area.

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

    It accepts double values and its default value is 0.

    TrackColor

    Gets or sets a brush value to customize the appearance of the track area.

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

    TrackOpacity

    Gets or sets a value to change the opacity of the track area.

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

    Here, the value ranges from 0 to 1.

    XData

    Gets a data point value that is bound with x for the segment.

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

    YData

    Gets a data point value that is bound with y for the segment.

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

    Implements

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