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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.Primitives.RangeBase RadialSlider Object
Constructors
EmbeddedRadialSlider()
Initializes an instance of the EmbeddedRadialSlider
class.
public EmbeddedRadialSlider()
Properties
DecrementValueCommand
Gets or sets the System.Windows.Input.ICommand that can be used to decrement the value.
public ICommand DecrementValueCommand { get; set; }
Property Value
- System.Windows.Input.ICommand:
The System.Windows.Input.ICommand that can be used to decrement the value.
IncrementValueCommand
Gets or sets the System.Windows.Input.ICommand that can be used to increment the value.
public ICommand IncrementValueCommand { get; set; }
Property Value
- System.Windows.Input.ICommand:
The System.Windows.Input.ICommand that can be used to increment the value.
TotalEndAngle
Gets or sets the total end angle.
public double TotalEndAngle { get; set; }
Property Value
- System.Double:
The total end angle.
TotalStartAngle
Gets or sets the total start angle.
public double TotalStartAngle { get; set; }
Property Value
- System.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 | System.Double | The old value. |
newMaximum | System.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 | System.Double | The old value. |
newMinimum | System.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 | System.Double | The old value. |
newValue | System.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
- RadialSlider.IntermediateValueProperty
- RadialSlider.RadiusProperty
- RadialSlider.ThumbArrowAngleProperty
- RadialSlider.ThumbBackgroundProperty
- RadialSlider.ThumbPressedBackgroundProperty
- RadialSlider.ThumbStyleProperty
- RadialSlider.OnCreateAutomationPeer()
- RadialSlider.SetValueCore(Double)
- RadialSlider.StartDrag(InputPointerButtonEventArgs)
- RadialSlider.IntermediateValue
- RadialSlider.Radius
- RadialSlider.ThumbArrowAngle
- RadialSlider.ThumbBackground
- RadialSlider.ThumbPressedBackground
- RadialSlider.ThumbStyle
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()