Class ChartSegment
Inheritance
Implements
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 |
---|
Microsoft.UI.Xaml.DependencyProperty |
StrokeDashArrayProperty
The DependencyProperty for StrokeDashArray property.
Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
StrokeWidthProperty
The DependencyProperty for StrokeWidth property.
Declaration
public static readonly DependencyProperty StrokeWidthProperty
Field Value
Type |
---|
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 |
---|
System.Object |
PolygonPoints
Gets or sets the collection of points that define a polygon shape.
Declaration
public PointCollection PolygonPoints { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Media.PointCollection |
Series
Gets the series associated with the segment.
Declaration
public ChartSeries Series { get; }
Property Value
Type |
---|
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 |
---|
System.ComponentModel.PropertyChangedEventHandler |