In This Article

EmbeddedRadialSlider Class

Represents a RadialSlider that is intended to be embedded within a popup.

[TemplatePart(Name = "PART_DecrementButton", Type = typeof(Button))]
[TemplatePart(Name = "PART_IncrementButton", Type = typeof(Button))]
[TemplateVisualState(Name = "Positive", GroupName = "ValueStates")]
[TemplateVisualState(Name = "Negative", GroupName = "ValueStates")]
[TemplateVisualState(Name = "TotalCollapsed", GroupName = "TotalStates")]
[TemplateVisualState(Name = "TotalVisible", GroupName = "TotalStates")]
public class EmbeddedRadialSlider : RadialSlider
Inheritance:
object Visual UIElement FrameworkElement Control RangeBase RadialSlider object

Constructors

EmbeddedRadialSlider()

Initializes an instance of the class.

public EmbeddedRadialSlider()

Properties

DecrementValueCommand

The ICommand that can be used to decrement the value.

public ICommand? DecrementValueCommand { get; set; }

Property Value

ICommand

IncrementValueCommand

The ICommand that can be used to increment the value.

public ICommand? IncrementValueCommand { get; set; }

Property Value

ICommand

TotalEndAngle

The total end angle.

public double TotalEndAngle { get; set; }

Property Value

double

TotalStartAngle

The total start angle.

public double TotalStartAngle { get; set; }

Property Value

double

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnMaximumChanged(double, double)

Called when the Maximum property changes.

protected override void OnMaximumChanged(double oldMaximum, double newMaximum)
Parameter Type Description
oldMaximum double

Old value of the Maximum property.

newMaximum double

New value of the Maximum property.

OnMinimumChanged(double, double)

Called when the Minimum property changes.

protected override void OnMinimumChanged(double oldMinimum, double newMinimum)
Parameter Type Description
oldMinimum double

Old value of the Minimum property.

newMinimum double

New value of the Minimum property.

OnValueChanged(double, double)

Raises the ValueChanged routed event.

protected override void OnValueChanged(double oldValue, double newValue)
Parameter Type Description
oldValue double

Old value of the Value property.

newValue double

New value of the Value property.

Fields

DecrementValueCommandProperty

Defines the DecrementValueCommand property.

public static readonly DependencyProperty DecrementValueCommandProperty

IncrementValueCommandProperty

Defines the IncrementValueCommand property.

public static readonly DependencyProperty IncrementValueCommandProperty

TotalEndAngleProperty

Defines the TotalEndAngle property.

public static readonly DependencyProperty TotalEndAngleProperty

TotalStartAngleProperty

Defines the TotalStartAngle property.

public static readonly DependencyProperty TotalStartAngleProperty

Inherited Members

Extension Methods