WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SunburstZoomingBehavior - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SunburstZoomingBehavior

    SunburstZoomingBehavior enables zooming operation over a Chart.

    Inheritance
    System.Object
    SunburstBehavior
    SunburstZoomingBehavior
    Inherited Members
    SunburstBehavior.OnMouseMove(MouseEventArgs)
    SunburstBehavior.OnMouseLeftButtonUp(MouseButtonEventArgs)
    SunburstBehavior.OnMouseLeave(MouseEventArgs)
    Namespace: Syncfusion.UI.Xaml.SunburstChart
    Assembly: Syncfusion.SfSunburstChart.WPF.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 Description
    System.Windows.DependencyProperty

    ToolBarHorizontalAlignmentProperty

    The DependencyProperty for ToolBarHorizontalAlignment property.

    Declaration
    public static readonly DependencyProperty ToolBarHorizontalAlignmentProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolBarItemHeightProperty

    The DependencyProperty for ToolBarItemHeight property.

    Declaration
    public static readonly DependencyProperty ToolBarItemHeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolBarItemMarginProperty

    The DependencyProperty for ToolBarItemMargin property.

    Declaration
    public static readonly DependencyProperty ToolBarItemMarginProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolBarItemWidthProperty

    The DependencyProperty for ToolBarItemWidth property.

    Declaration
    public static readonly DependencyProperty ToolBarItemWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolbarOffsetXProperty

    The DependencyProperty for ToolbarOffsetX property.

    Declaration
    public static readonly DependencyProperty ToolbarOffsetXProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolbarOffsetYProperty

    The DependencyProperty for ToolbarOffsetY property.

    Declaration
    public static readonly DependencyProperty ToolbarOffsetYProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolBarVerticalAlignmentProperty

    The DependencyProperty for ToolBarVerticalAlignment property.

    Declaration
    public static readonly DependencyProperty ToolBarVerticalAlignmentProperty
    Field Value
    Type Description
    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 Description
    System.Boolean

    ToolBarHorizontalAlignment

    Gets or sets the System.Windows.HorizontalAlignment for the tool bar.

    Declaration
    public HorizontalAlignment ToolBarHorizontalAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.HorizontalAlignment

    ToolBarItemHeight

    Gets or sets the tool bar height.

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

    ToolBarItemMargin

    Gets or sets the tool bar margin.

    Declaration
    public Thickness ToolBarItemMargin { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    ToolBarItemWidth

    Gets or sets the tool bar width.

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

    ToolbarOffsetX

    Gets or sets the offset x value for zooming toolbar.

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

    ToolbarOffsetY

    Gets or sets the offset y value for zooming toolbar.

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

    ToolBarVerticalAlignment

    Gets or sets the System.Windows.VerticalAlignment for the tool bar.

    Declaration
    public VerticalAlignment ToolBarVerticalAlignment { get; set; }
    Property Value
    Type Description
    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
    SunburstBehavior.OnMouseLeftButtonDown(MouseButtonEventArgs)

    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()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved