TimePicker Class
Represents a time picker.
public class TimePicker : PickerBase
- Inheritance:
- object Visual UIElement FrameworkElement Control PickerBase object
Constructors
TimePicker()
Initializes an instance of the class.
public TimePicker()
Properties
Hour
The hour value.
HourDegreeMaximum
The highest possible hour degree value, which can be bound to a radial slider.
HourDegreeMinimum
The lowest possible hour degree value, which can be bound to a radial slider.
HourDegreeValue
The hour value in degrees.
IsNullAllowed
Indicates whether null values are allowed to be entered by the user.
public bool IsNullAllowed { get; set; }
Property Value
- bool:
trueifnullvalues are allowed to be entered by the user; otherwisefalse. The default value isfalse.
IsPM
Gets whether the time is PM.
Maximum
The highest possible value.
Minimum
The lowest possible value.
Minute
The minute value.
MinuteDegreeMaximum
The highest possible minute degree value, which can be bound to a radial slider.
MinuteDegreeMinimum
The lowest possible minute degree value, which can be bound to a radial slider.
MinuteDegreeValue
The minute value in degrees.
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
HourDegreeMaximumProperty
Defines the HourDegreeMaximum property.
public static readonly DependencyProperty HourDegreeMaximumProperty
HourDegreeMinimumProperty
Defines the HourDegreeMinimum property.
public static readonly DependencyProperty HourDegreeMinimumProperty
HourDegreeValueProperty
Defines the HourDegreeValue property.
public static readonly DependencyProperty HourDegreeValueProperty
HourProperty
Defines the Hour property.
public static readonly DependencyProperty HourProperty
IsNullAllowedProperty
Defines the IsNullAllowed property.
public static readonly DependencyProperty IsNullAllowedProperty
IsPMProperty
Defines the IsPM property.
public static readonly DependencyProperty IsPMProperty
MaximumProperty
Defines the Maximum property.
public static readonly DependencyProperty MaximumProperty
MinimumProperty
Defines the Minimum property.
public static readonly DependencyProperty MinimumProperty
MinuteDegreeMaximumProperty
Defines the MinuteDegreeMaximum property.
public static readonly DependencyProperty MinuteDegreeMaximumProperty
MinuteDegreeMinimumProperty
Defines the MinuteDegreeMinimum property.
public static readonly DependencyProperty MinuteDegreeMinimumProperty
MinuteDegreeValueProperty
Defines the MinuteDegreeValue property.
public static readonly DependencyProperty MinuteDegreeValueProperty
MinuteProperty
Defines the Minute property.
public static readonly DependencyProperty MinuteProperty
ValueProperty
Defines the Value property.
public static readonly DependencyProperty ValueProperty