Updated TimePicker (markdown)

master
DianeXceed 9 years ago
parent
commit
9d47a6a905
  1. 54
      TimePicker.md

54
TimePicker.md

@ -3,32 +3,34 @@ Derives from Control
Represents a control that allows users to select a time. Represents a control that allows users to select a time.
![](TimePicker_time_picker.jpg) [[TimePicker_time_picker.jpg]]
## Properties ### Properties
|| Property || Description | Property | Description |
| AllowSpin | Gets or sets a value indicating whether interacting with the spinner will result in increment/decrement operations. | --- | --- |
| ClipValueToMinMax | Gets or sets if the value should be clipped when minimum/maximum is reached. | AllowSpin | Gets or sets a value indicating whether interacting with the spinner will result in increment/decrement operations. |
| EndTime | Gets or sets the last time listed in the control's dropdown. | ClipValueToMinMax | Gets or sets if the value should be clipped when minimum/maximum is reached. |
| Format | Gets or sets the time format displayed. | EndTime | Gets or sets the last time listed in the control's dropdown. |
| FormatString | Gets or sets the format string used when **Format** is set to Custom. | Format | Gets or sets the time format displayed. |
| IsOpen | Gets or sets a value indicating whether the dropdown is open. | FormatString | Gets or sets the format string used when **Format** is set to Custom. |
| Kind | Gets or sets a value indicating whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC. NOTE: Setting this property fixes a bug where losing focus on the TimePicker was incrementing time in UTC. It also fixes a bug where specifying a UTC Date was changing the date's Kind property to UnSpecified or Local. | IsOpen | Gets or sets a value indicating whether the dropdown is open. |
| MaxDropDownHeight| Gets or sets the maximum drop-down height of the popup of the TimePicker. | Kind | Gets or sets a value indicating whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC. NOTE: Setting this property fixes a bug where losing focus on the TimePicker was incrementing time in UTC. It also fixes a bug where specifying a UTC Date was changing the date's Kind property to UnSpecified or Local. |
| Maximum | Gets or sets the Maximum allowed value. | MaxDropDownHeight| Gets or sets the maximum drop-down height of the popup of the TimePicker. |
| Minimum | Gets or sets the Minimum allowed value. | Maximum | Gets or sets the Maximum allowed value. |
| ShowButtonSpinner | Gets or sets a value indicating whether the button spinner is shown. | Minimum | Gets or sets the Minimum allowed value. |
| StartTime | Gets or sets the first time listed in the control's dropdown. | ShowButtonSpinner | Gets or sets a value indicating whether the button spinner is shown. |
| TextAlignment | Gets or sets the alignment of the time picker's text. | StartTime | Gets or sets the first time listed in the control's dropdown. |
| TimeInterval | Gets or sets the time interval between the TimeItem items listed in the dropdown. | TextAlignment | Gets or sets the alignment of the time picker's text. |
| UpdateValueOnEnterKey | Gets or sets a value indicating whether the synchronization between "Value" and "Text" should be done only on the Enter key press (and lost focus). | TimeInterval | Gets or sets the time interval between the TimeItem items listed in the dropdown. |
| Value | Gets or sets the DateTime value of the TimePicker. | UpdateValueOnEnterKey | Gets or sets a value indicating whether the synchronization between "Value" and "Text" should be done only on the Enter key press (and lost focus). |
| Watermark | Gets or sets the watermark to display in the control. | Value | Gets or sets the DateTime value of the TimePicker. |
| WatermarkTemplate | Gets or sets the watermark template. | Watermark | Gets or sets the watermark to display in the control. |
| WatermarkTemplate | Gets or sets the watermark template. |
## Events ### Events
|| Event || Description | Event | Description |
| ValueChanged | Raised when the **Value** changes. | --- | --- |
| ValueChanged | Raised when the **Value** changes. |
**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** ---
--- **Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).**
Loading…
Cancel
Save