TimePicker Class
Represents a time picker.
public class TimePicker : PickerBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control PickerBase Object
Constructors
TimePicker()
Initializes an instance of the TimePicker
class.
public TimePicker()
Properties
Hour
Gets or sets the hour value.
HourDegreeMaximum
Gets the highest possible hour degree value, which can be bound to a radial slider.
public double HourDegreeMaximum { get; }
Property Value
- Double:
The highest possible hour degree value.
HourDegreeMinimum
Gets the lowest possible hour degree value, which can be bound to a radial slider.
public double HourDegreeMinimum { get; }
Property Value
- Double:
The lowest possible hour degree value.
HourDegreeValue
Gets or sets the hour value in degrees.
IsNullAllowed
Gets or sets a value indicating whether null values are allowed to be entered by the user.
public bool IsNullAllowed { get; set; }
Property Value
- Boolean:
true
if null values are allowed to be entered by the user; otherwisefalse
. The default value isfalse
.
IsPM
Gets whether the time is PM.
Maximum
Gets or sets the highest possible value.
Minimum
Gets or sets the lowest possible value.
Minute
Gets or sets the minute value.
MinuteDegreeMaximum
Gets the highest possible minute degree value, which can be bound to a radial slider.
public double MinuteDegreeMaximum { get; }
Property Value
- Double:
The highest possible minute degree value.
MinuteDegreeMinimum
Gets the lowest possible minute degree value, which can be bound to a radial slider.
public double MinuteDegreeMinimum { get; }
Property Value
- Double:
The lowest possible minute degree value.
MinuteDegreeValue
Gets or sets the minute value in degrees.
public int MinuteDegreeValue { get; set; }
Property Value
- Int32:
The degree minute value in degrees.
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
HourDegreeMaximumProperty
Identifies the HourDegreeMaximum dependency property. This field is read-only.
public static readonly DependencyProperty HourDegreeMaximumProperty
HourDegreeMinimumProperty
Identifies the HourDegreeMinimum dependency property. This field is read-only.
public static readonly DependencyProperty HourDegreeMinimumProperty
HourDegreeValueProperty
Identifies the HourDegreeValue dependency property. This field is read-only.
public static readonly DependencyProperty HourDegreeValueProperty
HourProperty
Identifies the Hour dependency property. This field is read-only.
public static readonly DependencyProperty HourProperty
IsNullAllowedProperty
Identifies the IsNullAllowed dependency property. This field is read-only.
public static readonly DependencyProperty IsNullAllowedProperty
IsPMProperty
Identifies the IsPM dependency property. This field is read-only.
public static readonly DependencyProperty IsPMProperty
MaximumProperty
Identifies the Maximum dependency property. This field is read-only.
public static readonly DependencyProperty MaximumProperty
MinimumProperty
Identifies the Minimum dependency property. This field is read-only.
public static readonly DependencyProperty MinimumProperty
MinuteDegreeMaximumProperty
Identifies the MinuteDegreeMaximum dependency property. This field is read-only.
public static readonly DependencyProperty MinuteDegreeMaximumProperty
MinuteDegreeMinimumProperty
Identifies the MinuteDegreeMinimum dependency property. This field is read-only.
public static readonly DependencyProperty MinuteDegreeMinimumProperty
MinuteDegreeValueProperty
Identifies the MinuteDegreeValue dependency property. This field is read-only.
public static readonly DependencyProperty MinuteDegreeValueProperty
MinuteProperty
Identifies the Minute dependency property. This field is read-only.
public static readonly DependencyProperty MinuteProperty
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()