The TimePicker type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TimePicker |
Initializes a new instance of the TimePicker class.
|
Methods
Name | Description | |
---|---|---|
Decrease |
Decreases the SelectedTime based on the Change property.
(Overrides TimePickerBase..::.Decrease()()().) | |
Increase |
Increases the SelectedTime based on the Change property.
(Overrides TimePickerBase..::.Increase()()().) | |
OnGotKeyboardFocus |
Called when this TimePicker gets keyboard focus.
(Overrides UIElement..::.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs).) | |
OnLostKeyboardFocus |
Called when this TimePicker loses keyboard focus.
(Overrides UIElement..::.OnLostKeyboardFocus(KeyboardFocusChangedEventArgs).) | |
OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from TimePickerBase.) |
Fields
Name | Description | |
---|---|---|
IsAutoFillSuggestionsEnabledProperty |
Identifies the IsAutoFillSuggestionsEnabled property.
| |
IsMaskEnabledProperty |
Identifies the IsMaskEnabled property.
| |
ItemsSourceProperty |
Identifies the ItemsSource property.
| |
MaxTimeProperty |
Identifies the MaxTime property.
| |
MinTimeProperty |
Identifies the MinTime property.
| |
SelectedTimeProperty |
Identifies the SelectedTime property.
| |
TextProperty |
Identifies the Text property.
| |
TimeDisplayModeProperty |
Identifies the TimeDisplayMode property.
| |
TimeSuggestionIntervalProperty |
Identifies the TimeSuggestionInterval property.
|
Properties
Name | Description | |
---|---|---|
Change |
Gets or sets a TimeSpan used to increase or decrease the selected time.
This is a dependency property.
(Inherited from TimePickerBase.) | |
IsAutoFillSuggestionsEnabled |
Gets or sets whether or not this control should automatically fill the suggestion list when the MinTime, MaxTime or TimeSuggestionInterval
properties change. The default is false.
This is a dependency property.
| |
IsDropDownOpen |
Gets or sets whether the drop-down part of the TimePickerBase is open.
This is a dependency property.
(Inherited from TimePickerBase.) | |
IsDropDownToggleVisible |
Gets or sets whether or not the drop-down toggle button is visible or not.
This is a dependency property.
(Inherited from TimePickerBase.) | |
IsMaskEnabled |
Gets or sets whether or not to use a mask for the text input of this TimePicker.
The default is false.
This is a dependency property.
| |
IsReadOnly |
Gets or sets whether or not the text box part of this control is read only.
The default is false.
This is a dependency property.
(Inherited from TimePickerBase.) | |
IsUpDownVisible |
Gets or sets whether or not the up/down controls are visible.
This is a dependency property.
(Inherited from TimePickerBase.) | |
ItemsSource |
Gets or sets the collection of times to be displayed in the drop-down part of the control.
This is a dependency property.
| |
MaxTime |
Gets or sets the maximum time of day to be displayed in the TimePicker.
This is a dependency property.
| |
MinTime |
Gets or sets the minimum time of day to be displayed in the TimePicker.
This is a dependency property.
| |
SelectedTime |
Gets or sets the selected TimeOfDay.
This is a dependency property.
| |
Text |
Gets or sets the text displayed in the TimePicker.
This is a dependency property.
| |
TimeDisplayMode |
Gets or sets the TimeDisplayMode that specifies how to display time.
This is a dependency property.
| |
TimeSuggestionInterval |
Gets or sets the interval between times when automatically filling the suggestion list.
This is a dependency property.
|
Events
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
(Inherited from TimePickerBase.) | |
SelectedTimeChanged |
Raised when the SelectedTime changes.
|