TimeSpanPicker Class
Represents a TimeSpan
picker.
[TemplatePart(Name = "PART_PartSelector", Type = typeof(Selector))]
[TemplatePart(Name = "PART_ValuePicker", Type = typeof(Int32Picker))]
public class TimeSpanPicker : PickerBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control PickerBase Object
Constructors
TimeSpanPicker()
Initializes an instance of the TimeSpanPicker
class.
public TimeSpanPicker()
Properties
Days
Gets the days component (0 - 255) of the Value.
EditableParts
Gets or sets the editable parts.
public TimeSpanEditableParts EditableParts { get; set; }
Property Value
- TimeSpanEditableParts:
The editable parts.
Hours
Gets the hours component (0 - 23) of the Value.
Maximum
Gets or sets the highest possible value.
Milliseconds
Gets the milliseconds component (0 - 999) of the Value.
Minimum
Gets or sets the lowest possible value.
Minutes
Gets the minutes component (0 - 59) of the Value.
Seconds
Gets the seconds component (0 - 59) of the Value.
SmallChange
Gets or sets the small change value.
public TimeSpan SmallChange { get; set; }
Property Value
- TimeSpan:
The small change value. The default value is
1.0
.
Value
Gets or sets the value of the control.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
Events
ValueChanged
Occurs after the Value property value changes.
Fields
DaysProperty
Identifies the Days dependency property. This field is read-only.
public static readonly DependencyProperty DaysProperty
EditablePartsProperty
Identifies the EditableParts dependency property. This field is read-only.
public static readonly DependencyProperty EditablePartsProperty
HoursProperty
Identifies the Hours dependency property. This field is read-only.
public static readonly DependencyProperty HoursProperty
MaximumProperty
Identifies the Maximum dependency property. This field is read-only.
public static readonly DependencyProperty MaximumProperty
MillisecondsProperty
Identifies the Milliseconds dependency property. This field is read-only.
public static readonly DependencyProperty MillisecondsProperty
MinimumProperty
Identifies the Minimum dependency property. This field is read-only.
public static readonly DependencyProperty MinimumProperty
MinutesProperty
Identifies the Minutes dependency property. This field is read-only.
public static readonly DependencyProperty MinutesProperty
SecondsProperty
Identifies the Seconds dependency property. This field is read-only.
public static readonly DependencyProperty SecondsProperty
SmallChangeProperty
Identifies the SmallChange dependency property. This field is read-only.
public static readonly DependencyProperty SmallChangeProperty
ValueProperty
Identifies the Value dependency property. This field is read-only.
public static readonly DependencyProperty ValueProperty
Inherited Members
- PickerBase.OnCreateAutomationPeer()
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()