Class SunburstZoomingBehavior
SunburstZoomingBehavior enables zooming operation over a Chart.
Inherited Members
Namespace: Syncfusion.UI.Xaml.SunburstChart
Assembly: Syncfusion.SfSunburstChart.WPF.dll
Syntax
public class SunburstZoomingBehavior : SunburstBehaviorConstructors
SunburstZoomingBehavior()
Initializes a new instance of the SunburstZoomingBehavior class.
Declaration
public SunburstZoomingBehavior()Fields
EnableZoomingProperty
The DependencyProperty for EnableZooming property.
Declaration
public static readonly DependencyProperty EnableZoomingPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolBarHorizontalAlignmentProperty
The DependencyProperty for ToolBarHorizontalAlignment property.
Declaration
public static readonly DependencyProperty ToolBarHorizontalAlignmentPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolBarItemHeightProperty
The DependencyProperty for ToolBarItemHeight property.
Declaration
public static readonly DependencyProperty ToolBarItemHeightPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolBarItemMarginProperty
The DependencyProperty for ToolBarItemMargin property.
Declaration
public static readonly DependencyProperty ToolBarItemMarginPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolBarItemWidthProperty
The DependencyProperty for ToolBarItemWidth property.
Declaration
public static readonly DependencyProperty ToolBarItemWidthPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolbarOffsetXProperty
The DependencyProperty for ToolbarOffsetX property.
Declaration
public static readonly DependencyProperty ToolbarOffsetXPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolbarOffsetYProperty
The DependencyProperty for ToolbarOffsetY property.
Declaration
public static readonly DependencyProperty ToolbarOffsetYPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ToolBarVerticalAlignmentProperty
The DependencyProperty for ToolBarVerticalAlignment property.
Declaration
public static readonly DependencyProperty ToolBarVerticalAlignmentPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Properties
EnableZooming
Gets or sets a value indicating whether zooming behavior is enabled or not.
Declaration
public bool EnableZooming { get; set; }Property Value
| Type | 
|---|
| System.Boolean | 
ToolBarHorizontalAlignment
Gets or sets the System.Windows.HorizontalAlignment for the tool bar.
Declaration
public HorizontalAlignment ToolBarHorizontalAlignment { get; set; }Property Value
| Type | 
|---|
| System.Windows.HorizontalAlignment | 
ToolBarItemHeight
Gets or sets the tool bar height.
Declaration
public double ToolBarItemHeight { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ToolBarItemMargin
Gets or sets the tool bar margin.
Declaration
public Thickness ToolBarItemMargin { get; set; }Property Value
| Type | 
|---|
| System.Windows.Thickness | 
ToolBarItemWidth
Gets or sets the tool bar width.
Declaration
public double ToolBarItemWidth { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ToolbarOffsetX
Gets or sets the offset x value for zooming toolbar.
Declaration
public double ToolbarOffsetX { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ToolbarOffsetY
Gets or sets the offset y value for zooming toolbar.
Declaration
public double ToolbarOffsetY { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ToolBarVerticalAlignment
Gets or sets the System.Windows.VerticalAlignment for the tool bar.
Declaration
public VerticalAlignment ToolBarVerticalAlignment { get; set; }Property Value
| Type | 
|---|
| System.Windows.VerticalAlignment | 
Methods
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called when the mouse left button was clicked on the sunburst chart.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | Event args. | 
Overrides
ZoomIn(SfSunburstChart, Int32)
Method gets called to zoom in chart.
Declaration
public void ZoomIn(SfSunburstChart chart, int segmentIndex)Parameters
| Type | Name | Description | 
|---|---|---|
| SfSunburstChart | chart | The chart. | 
| System.Int32 | segmentIndex | The segment index. | 
ZoomOut()
Method gets called to zoom out chart.
Declaration
public void ZoomOut()