Class SunburstToolbarSettings
Represents the settings for the drill down functionality in the SfSunburstChart.
Inheritance
Namespace: Syncfusion.Maui.SunburstChart
Assembly: Syncfusion.Maui.SunburstChart.dll
Syntax
public class SunburstToolbarSettings : Element
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings Enable="True">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>
Constructors
SunburstToolbarSettings()
Initializes a new instance of the SunburstToolbarSettings class.
Declaration
public SunburstToolbarSettings()
Fields
BackgroundProperty
Identifies the Background bindable property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
HorizontalAlignmentProperty
Identifies the HorizontalAlignment bindable property.
Declaration
public static readonly BindableProperty HorizontalAlignmentProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
IconBrushProperty
Identifies the IconBrush bindable property.
Declaration
public static readonly BindableProperty IconBrushProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
OffsetXProperty
Identifies the OffsetX bindable property.
Declaration
public static readonly BindableProperty OffsetXProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
OffsetYProperty
Identifies the OffsetY bindable property.
Declaration
public static readonly BindableProperty OffsetYProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
VerticalAlignmentProperty
Identifies the VerticalAlignment bindable property.
Declaration
public static readonly BindableProperty VerticalAlignmentProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
Background
Gets or sets a value indicates the background of the drill-down toolbar.
Declaration
public Brush Background { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default value is #F7F2FB. |
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings Background="Red">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>
HorizontalAlignment
Gets or sets the horizontal alignment of the toolbar.
Declaration
public SunburstToolbarAlignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
SunburstToolbarAlignment | The default value is SunburstToolbarAlignment.End. |
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings SunburstToolbarAlignment="Center">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>
IconBrush
Gets or sets a value indicates the background of the drill-down toolbar icons.
Declaration
public Brush IconBrush { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default value is #49454F. |
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings IconBrush="Green">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>
OffsetX
Gets or sets the horizontal offset for the toolbar.
Declaration
public double OffsetX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0.0. |
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings OffsetX="0.5">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>
OffsetY
Gets or sets the vertical offset for the toolbar.
Declaration
public double OffsetY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0.0. |
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings OffsetY="0.5">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>
VerticalAlignment
Gets or sets the vertical alignment of the toolbar.
Declaration
public SunburstToolbarAlignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
SunburstToolbarAlignment | The default value is VerticalAlignment.Start. |
Examples
<chart:SfSunburstChart>
<chart:SfSunburstChart.ToolbarSettings>
<chart:SunburstToolbarSettings VerticalAlignment="End">
<chart:SfSunburstChart.ToolbarSettings>
<chart:SfSunburstChart>