NumberPickerBase<T> Class
Provides an abstract base class that can be used for pickers of a numeric value.
public abstract class NumberPickerBase<T> : RadialSliderPickerBase where T : struct, INumber<T>, IMinMaxValue<T>
- Type Parameters:
-
T-
- Inheritance:
- object Visual UIElement FrameworkElement Control PickerBase RadialSliderPickerBase object
Constructors
NumberPickerBase()
Initializes an instance of the class.
protected NumberPickerBase()
Properties
Maximum
The highest possible value.
public T Maximum { get; set; }
Property Value
- T
Minimum
The lowest possible value.
public T Minimum { get; set; }
Property Value
- T
SmallChange
The small change value.
public T SmallChange { get; set; }
Property Value
- T:
The default value is
1.
Value
The value of the control.
public T Value { get; set; }
Property Value
- T
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
Events
ValueChanged
Occurs after the Value property value changes.
Fields
MaximumProperty
Defines the Maximum property.
public static readonly DependencyProperty MaximumProperty
MinimumProperty
Defines the Minimum property.
public static readonly DependencyProperty MinimumProperty
SmallChangeProperty
Defines the SmallChange property.
public static readonly DependencyProperty SmallChangeProperty
ValueProperty
Defines the Value property.
public static readonly DependencyProperty ValueProperty
Inherited Members
- RadialSliderPickerBase.DegreeLargeChangeProperty
- RadialSliderPickerBase.DegreeMaximumProperty
- RadialSliderPickerBase.DegreeMinimumProperty
- RadialSliderPickerBase.DegreeSmallChangeProperty
- RadialSliderPickerBase.DegreeValueProperty
- RadialSliderPickerBase.SetValueAndClosePopupCommandProperty
- RadialSliderPickerBase.SmallDecrementValueCommandProperty
- RadialSliderPickerBase.SmallIncrementValueCommandProperty
- RadialSliderPickerBase.DegreeLargeChange
- RadialSliderPickerBase.DegreeMaximum
- RadialSliderPickerBase.DegreeMinimum
- RadialSliderPickerBase.DegreeSmallChange
- RadialSliderPickerBase.DegreeValue
- RadialSliderPickerBase.SetValueAndClosePopupCommand
- RadialSliderPickerBase.SmallDecrementValueCommand
- RadialSliderPickerBase.SmallIncrementValueCommand
- PickerBase.OnCreateAutomationPeer()