Class SunburstZoomingBehavior
SunburstZoomingBehavior enables zooming operation over a Chart.
Inherited Members
Namespace: Syncfusion.UI.Xaml.SunburstChart
Assembly: Syncfusion.SfSunburstChart.UWP.dll
Syntax
public class SunburstZoomingBehavior : SunburstBehavior
Constructors
SunburstZoomingBehavior()
Initializes a new instance of the SunburstZoomingBehavior class.
Declaration
public SunburstZoomingBehavior()
Fields
EnableZoomingProperty
The DependencyProperty for EnableZooming property.
Declaration
public static readonly DependencyProperty EnableZoomingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolBarHorizontalAlignmentProperty
The DependencyProperty for ToolBarHorizontalAlignment property.
Declaration
public static readonly DependencyProperty ToolBarHorizontalAlignmentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolBarItemHeightProperty
The DependencyProperty for ToolBarItemHeight property.
Declaration
public static readonly DependencyProperty ToolBarItemHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolBarItemMarginProperty
The DependencyProperty for ToolBarItemMargin property.
Declaration
public static readonly DependencyProperty ToolBarItemMarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolBarItemWidthProperty
The DependencyProperty for ToolBarItemWidth property.
Declaration
public static readonly DependencyProperty ToolBarItemWidthProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolbarOffsetXProperty
The DependencyProperty for ToolbarOffsetX property.
Declaration
public static readonly DependencyProperty ToolbarOffsetXProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolbarOffsetYProperty
The DependencyProperty for ToolbarOffsetY property.
Declaration
public static readonly DependencyProperty ToolbarOffsetYProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolBarVerticalAlignmentProperty
The DependencyProperty for ToolBarVerticalAlignment property.
Declaration
public static readonly DependencyProperty ToolBarVerticalAlignmentProperty
Field Value
Type |
---|
Windows.UI.Xaml.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 Windows.UI.Xaml.HorizontalAlignment for the tool bar.
Declaration
public HorizontalAlignment ToolBarHorizontalAlignment { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 Windows.UI.Xaml.VerticalAlignment for the tool bar.
Declaration
public VerticalAlignment ToolBarVerticalAlignment { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.VerticalAlignment |
Methods
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Called when the mouse was tapped twice on the zooming toolbar.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs | 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()