Class TimePicker
Represents a control that allows a user to pick a time value.
public class TimePicker : ButtonBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
- Inheritance
-
TimePicker
- Implements
- Inherited Members
Fields
ClockIdentifierProperty
Identifies the ClockIdentifier dependency property.
public static readonly DependencyProperty ClockIdentifierProperty
Field Value
HeaderProperty
Identifies the Header dependency property.
public static readonly DependencyProperty HeaderProperty
Field Value
MinuteIncrementProperty
Identifies the MinuteIncrement dependency property.
public static readonly DependencyProperty MinuteIncrementProperty
Field Value
SelectedTimeProperty
Identifies the SelectedTime dependency property.
public static readonly DependencyProperty SelectedTimeProperty
Field Value
TimeProperty
Identifies the Time dependency property.
public static readonly DependencyProperty TimeProperty
Field Value
Properties
ClockIdentifier
Gets or sets the clock system to use.
public ClockIdentifier ClockIdentifier { get; set; }
Property Value
Header
Gets or sets the content for the control's header.
public object? Header { get; set; }
Property Value
MinuteIncrement
Gets or sets a value that indicates the time increments shown in the minute picker. For example, 15 specifies that the TimePicker minute control displays only the choices 00, 15, 30, 45.
public int MinuteIncrement { get; set; }
Property Value
SelectedTime
Gets or sets the time currently selected in the time picker
public TimeSpan? SelectedTime { get; set; }
Property Value
Time
Gets or sets the time currently set in the time picker.
public TimeSpan Time { get; set; }