Class SunburstSelectionBehavior
Represents a selection behavior to the SfSunburstChart.
Inherited Members
Namespace: Syncfusion.UI.Xaml.SunburstChart
Assembly: Syncfusion.SfSunburstChart.WPF.dll
Syntax
public class SunburstSelectionBehavior : SunburstBehavior
Constructors
SunburstSelectionBehavior()
Declaration
public SunburstSelectionBehavior()
Fields
EnableSelectionProperty
The DependencyProperty for EnableSelection property.
Declaration
public static readonly DependencyProperty EnableSelectionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OpacityProperty
The DependencyProperty for Opacity property.
Declaration
public static readonly DependencyProperty OpacityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionBrushProperty
The DependencyProperty for SelectionBrush property.
Declaration
public static readonly DependencyProperty SelectionBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionCursorProperty
The DependencyProperty for SelectionCursor property.
Declaration
public static readonly DependencyProperty SelectionCursorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionDisplayModeProperty
The DependencyProperty for SelectionDisplayMode property.
Declaration
public static readonly DependencyProperty SelectionDisplayModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionModeProperty
The DependencyProperty for SelectionMode property.
Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionStrokeBrushProperty
The DependencyProperty for SelectionStrokeBrush property.
Declaration
public static readonly DependencyProperty SelectionStrokeBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionStrokeThicknessProperty
The DependencyProperty for SelectionStrokeThickness property.
Declaration
public static readonly DependencyProperty SelectionStrokeThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionTypeProperty
The DependencyProperty for SelectionType property.
Declaration
public static readonly DependencyProperty SelectionTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
EnableSelection
Gets or sets a value indicating whether selection is enabled or not.
Declaration
public bool EnableSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
Opacity
Gets or sets the opacity for unselected segments.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
SelectionBrush
Gets or sets the brush to paint the interior of the selected segment.
Declaration
public Brush SelectionBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
SelectionCursor
Gets or sets the mouse cursor.
Declaration
public Cursor SelectionCursor { get; set; }
Property Value
Type |
---|
System.Windows.Input.Cursor |
SelectionDisplayMode
Gets or sets a value that determines how to display the selected segment.
Declaration
public SelectionDisplayMode SelectionDisplayMode { get; set; }
Property Value
Type |
---|
SelectionDisplayMode |
SelectionMode
Gets or sets the selection mode.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
Type |
---|
SelectionMode |
SelectionStrokeBrush
Gets or sets the stroke color to paint the stroke color of the selected segment.
Declaration
public Brush SelectionStrokeBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
SelectionStrokeThickness
Gets or sets the stroke thickness to paint the stroke thickness of the selected segment.
Declaration
public double SelectionStrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
SelectionType
Gets or sets the selection type, which indicates the selectable range.
Declaration
public SelectionType SelectionType { get; set; }
Property Value
Type |
---|
SelectionType |
Methods
OnMouseLeave(MouseEventArgs)
Called when the mouse exited on the SfSunburstChart.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Event args. |
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called when the mouse pressed on the SfSunburstChart.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Event args. |
Overrides
OnMouseMove(MouseEventArgs)
Called when the mouse move on the SfSunburstChart.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Event args. |