Class SfRadialSlider
Represents a control that allows users to select values by moving the pointer in a radial motion.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Navigation
Assembly: Syncfusion.SfRadialMenu.UWP.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.Style |
PreviewPointerStyle
Gets or sets a value of the preview pointer style
Declaration
public Style PreviewPointerStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.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
protected 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 |
OnPointerEntered(PointerRoutedEventArgs)
Sets the visibility as visible to the control when pointer has been entered
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event arguments |
OnPointerExited(PointerRoutedEventArgs)
Sets the visibility as collapsed to the control when pointer has been exited
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event arguments |
OnPointerMoved(PointerRoutedEventArgs)
Sets the focus on pointer movement
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event arguments |
OnPointerPressed(PointerRoutedEventArgs)
Sets the focus when the pointer is pressed
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | the event arguments |
OnPointerReleased(PointerRoutedEventArgs)
Sets the focus on pointer release
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | the event arguments |
Events
DrawLabel
Occurs when drawing custom labels in
Declaration
public event EventHandler<DrawLabelEventArgs> DrawLabel
Event Type
Type |
---|
System.EventHandler<DrawLabelEventArgs> |