Class SfRadialSlider
Represents a control that allows users to select values by moving the pointer in a radial motion.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Navigation
Assembly: Syncfusion.SfRadialMenu.Wpf.dll
Syntax
public class SfRadialSlider : RangeBase, IDisposable
Constructors
SfRadialSlider()
Initializes a new instance of the SfRadialSlider class.
Declaration
public SfRadialSlider()
See Also
Fields
ContentProperty
Using a DependencyProperty as the backing store for Content. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ContentTemplateProperty
Using a DependencyProperty as the backing store for ContentTemplateProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ContentTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EndAngleProperty
Using a DependencyProperty as the backing store for TickFrequency. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EndAngleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InnerRimFillProperty
Using a DependencyProperty as the backing store for InnerRimFill. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty InnerRimFillProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InnerRimRadiusFactorProperty
Using a DependencyProperty as the backing store for InnerRimRadiusFactor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty InnerRimRadiusFactorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InnerRimStrokeProperty
Using a DependencyProperty as the backing store for InnerRimFill. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty InnerRimStrokeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InnerRimStrokeThicknessProperty
Using a DependencyProperty as the backing store for InnerRimStrokeThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty InnerRimStrokeThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IntermediateValueProperty
Using a DependencyProperty as the backing store for IntermediateValue. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IntermediateValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelRadiusFactorProperty
Using a DependencyProperty as the backing store for LabelsRadiusFactor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LabelRadiusFactorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelTemplateProperty
Using a DependencyProperty as the backing store for LabelTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LabelTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelVisibilityProperty
Using a DependencyProperty as the backing store for LabelVisibilityProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LabelVisibilityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OuterRimRadiusFactorProperty
Using a DependencyProperty as the backing store for OuterRimRadiusFactor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty OuterRimRadiusFactorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OuterRimStrokeProperty
Using a DependencyProperty as the backing store for OuterRimFill. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty OuterRimStrokeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OuterRimStrokeThicknessProperty
Using a DependencyProperty as the backing store for OuterRimStrokeThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty OuterRimStrokeThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PointerRadiusFactorProperty
Using a DependencyProperty as the backing store for PointerRadiusFactor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty PointerRadiusFactorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PointerStyleProperty
Using a DependencyProperty as the backing store for RadialPointerStyle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty PointerStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PreviewPointerStyleProperty
Using a DependencyProperty as the backing store for RadialPreviewPointerStyle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty PreviewPointerStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowMaximumValueProperty
Using a DependencyProperty as the backing store for ShowMaximumValue. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowMaximumValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StartAngleProperty
Using a DependencyProperty as the backing store for TickFrequency. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty StartAngleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SweepDirectionProperty
Using a DependencyProperty as the backing store for SweepDirection. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SweepDirectionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TickFrequencyProperty
Using a DependencyProperty as the backing store for TickFrequency. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TickFrequencyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TickRadiusFactorProperty
Using a DependencyProperty as the backing store for TicksRadiusFactor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TickRadiusFactorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TickTemplateProperty
Using a DependencyProperty as the backing store for TickTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TickTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TickVisibilityProperty
Using a DependencyProperty as the backing store for TickVisibilityProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TickVisibilityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Content
Gets or sets a value of the content for RadialSlider control.
Declaration
public object Content { get; set; }
Property Value
Type |
---|
System.Object |
ContentTemplate
Gets or sets a value of the template of the content for RadialSlider control.
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
EndAngle
Gets or sets a value of the ending angle for the RadialSlider control.
Declaration
public double EndAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 360. |
InnerRimFill
Gets or sets a value of the brush for the inner rim for RadialSlider control.
Declaration
public Brush InnerRimFill { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The default value is null |
InnerRimRadiusFactor
Gets or sets a value of the inner rim radius for the RadialSlider control.
Declaration
public double InnerRimRadiusFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0.02/> |
See Also
InnerRimStroke
Gets or sets a value of the stroke of the inner rim for RadialSlider control.
Declaration
public Brush InnerRimStroke { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
InnerRimStrokeThickness
Gets or sets a value of the stroke thickness of the inner rim for RadialSlider control.
Declaration
public double InnerRimStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 2.0 |
IntermediateValue
Gets or sets a value of the intermediate value for RadialSlider control.
Declaration
public double IntermediateValue { get; set; }
Property Value
Type |
---|
System.Double |
LabelRadiusFactor
Gets or sets a value of the rim radius for the label in RadialSlider control.
Declaration
public double LabelRadiusFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1/> |
See Also
LabelTemplate
Gets or sets a value of the template of the label for RadialSlider control.
Declaration
public DataTemplate LabelTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
LabelVisibility
Gets or sets a value of the label visibility property for the RadialSlider control.
Declaration
public Visibility LabelVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility | The default value is Visibility.Visible |
OuterRimRadiusFactor
Gets or sets a value of the outer rim radius for the RadialSlider control.
Declaration
public double OuterRimRadiusFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0.08/> |
See Also
OuterRimStroke
Gets or sets a value of the stroke of the outer rim for RadialSlider control.
Declaration
public Brush OuterRimStroke { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
OuterRimStrokeThickness
Gets or sets a value of the stroke thickness of the outer rim for RadialSlider control.
Declaration
public double OuterRimStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 2.0 |
PointerRadiusFactor
Gets or sets a value of the radius of the pointer for RadialSlider control.
Declaration
public double PointerRadiusFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0.75d |
See Also
PointerStyle
Gets or sets a value of the pointer style
Declaration
public Style PointerStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
PreviewPointerStyle
Gets or sets a value of the preview pointer style
Declaration
public Style PreviewPointerStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
ShowMaximumValue
Gets or sets a value indicating whether the given maximum number is display or not if it is non divisible by given TickFrequency
Declaration
public bool ShowMaximumValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false. |
StartAngle
Gets or sets the starting angle for the RadialSlider control.
Declaration
public double StartAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0. |
SweepDirection
Gets or sets a value of the SweepDirection in the SfRadialSlider.
Declaration
public SweepDirection SweepDirection { get; set; }
Property Value
Type |
---|
System.Windows.Media.SweepDirection |
TickFrequency
Gets or sets a value of the frequency of ticks for the RadialSlider control.
Declaration
public int TickFrequency { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is 1/> |
TickRadiusFactor
Gets or sets a value of the rim radius for the tick in RadialSlider control.
Declaration
public double TickRadiusFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0.82/> |
See Also
TickTemplate
Gets or sets a value of the template of the tick for RadialSlider control.
Declaration
public DataTemplate TickTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
TickVisibility
Gets or sets a value of the tick visibility property for the RadialSlider control.
Declaration
public Visibility TickVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility | The default value is Visibility.Visible |
Methods
Dispose()
Represents dispose method for disposing unwanted objects
Declaration
public void Dispose()
Dispose(Boolean)
Dispose all the instances using in RadialSlider
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | disposing is boolean value |
OnApplyTemplate()
Sets the values for the declared variables when initiated.
Declaration
public override void OnApplyTemplate()
OnMaximumChanged(Double, Double)
Updates the RadialSlider layout when the Maximum value is changed
Declaration
protected override void OnMaximumChanged(double oldMaximum, double newMaximum)
Parameters
Type | Name | Description |
---|---|---|
System.Double | oldMaximum | old maximum value |
System.Double | newMaximum | new maximum value |
OnMinimumChanged(Double, Double)
Updates the RadialSlider layout when the Minimum value is changed
Declaration
protected override void OnMinimumChanged(double oldMinimum, double newMinimum)
Parameters
Type | Name | Description |
---|---|---|
System.Double | oldMinimum | old maximum value |
System.Double | newMinimum | new maximum value |
OnMouseEnter(MouseEventArgs)
Sets the visibility as visible to the control when pointer has been entered
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event arguments |
OnMouseLeave(MouseEventArgs)
Sets the visibility as collapsed to the control when pointer has been exited
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event arguments |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Sets the focus when the pointer is pressed
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | the event arguments |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Sets the focus on pointer release
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | the event arguments |
OnMouseMove(MouseEventArgs)
Sets the focus on pointer movement
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event arguments |
Events
DrawLabel
Occurs when drawing custom labels in
Declaration
public event EventHandler<DrawLabelEventArgs> DrawLabel
Event Type
Type |
---|
System.EventHandler<DrawLabelEventArgs> |