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 EmbeddedRadialSlider class.

public EmbeddedRadialSlider()

Properties

DecrementValueCommand

Gets or sets the ICommand that can be used to decrement the value.

public ICommand DecrementValueCommand { get; set; }

Property Value

ICommand:

The ICommand that can be used to decrement the value.

IncrementValueCommand

Gets or sets the ICommand that can be used to increment the value.

public ICommand IncrementValueCommand { get; set; }

Property Value

ICommand:

The ICommand that can be used to increment the value.

TotalEndAngle

Gets or sets the total end angle.

public double TotalEndAngle { get; set; }

Property Value

double:

The total end angle.

TotalStartAngle

Gets or sets the total start angle.

public double TotalStartAngle { get; set; }

Property Value

double:

The total start angle.

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnMaximumChanged(double, double)

Occurs when the Maximum property has changed.

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

The old value.

newMaximum double

The new value.

OnMinimumChanged(double, double)

Occurs when the Minimum property has changed.

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

The old value.

newMinimum double

The new value.

OnValueChanged(double, double)

Occurs when the Value property has changed.

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

The old value.

newValue double

The new value.

Fields

DecrementValueCommandProperty

Identifies the DecrementValueCommand dependency property. This field is read-only.

public static readonly DependencyProperty DecrementValueCommandProperty

IncrementValueCommandProperty

Identifies the IncrementValueCommand dependency property. This field is read-only.

public static readonly DependencyProperty IncrementValueCommandProperty

TotalEndAngleProperty

Identifies the TotalEndAngle dependency property. This field is read-only.

public static readonly DependencyProperty TotalEndAngleProperty

TotalStartAngleProperty

Identifies the TotalStartAngle dependency property. This field is read-only.

public static readonly DependencyProperty TotalStartAngleProperty

Inherited Members