TimeSpanPicker Class
Represents a TimeSpan picker.
[TemplatePart(Name = "PART_PartSelector", Type = typeof(Selector))]
[TemplatePart(Name = "PART_ValuePicker", Type = typeof(Int32Picker))]
public class TimeSpanPicker : PickerBase
- Inheritance:
- object Visual UIElement FrameworkElement Control PickerBase object
Constructors
TimeSpanPicker()
Initializes an instance of the class.
public TimeSpanPicker()
Properties
Days
The days component (0 - 255) of the Value.
EditableParts
The editable parts.
Hours
The hours component (0 - 23) of the Value.
Maximum
The highest possible value.
Milliseconds
The milliseconds component (0 - 999) of the Value.
Minimum
The lowest possible value.
Minutes
The minutes component (0 - 59) of the Value.
Seconds
The seconds component (0 - 59) of the Value.
SmallChange
The small change value.
Value
The value of the control.
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
DaysProperty
Defines the Days property.
public static readonly DependencyProperty DaysProperty
EditablePartsProperty
Defines the EditableParts property.
public static readonly DependencyProperty EditablePartsProperty
HoursProperty
Defines the Hours property.
public static readonly DependencyProperty HoursProperty
MaximumProperty
Defines the Maximum property.
public static readonly DependencyProperty MaximumProperty
MillisecondsProperty
Defines the Milliseconds property.
public static readonly DependencyProperty MillisecondsProperty
MinimumProperty
Defines the Minimum property.
public static readonly DependencyProperty MinimumProperty
MinutesProperty
Defines the Minutes property.
public static readonly DependencyProperty MinutesProperty
SecondsProperty
Defines the Seconds property.
public static readonly DependencyProperty SecondsProperty
SmallChangeProperty
Defines the SmallChange property.
public static readonly DependencyProperty SmallChangeProperty
ValueProperty
Defines the Value property.
public static readonly DependencyProperty ValueProperty