ITimePickerHost
The settings a time picker's drop-down reads from the control that hosts it: the step and repeat rate of the arrows, the fonts and colours of the columns, and the time itself.
public interface ITimePickerHost
Remarks
TimePickerDropDown implements it, and its documentation describes each setting and its default.
The drop-down's columns are internal to this assembly, so the interface is not normally implemented elsewhere.
Members at a glance
| Properties | |
|---|---|
AnteMeridianValue | Gets or sets the text the AM/PM column shows for the morning. |
ContentPadding | Gets or sets the space between the edge of the drop-down and its columns. |
DropDownTimeSelectionButtonEndColor | Gets or sets an end colour for the drop-down button. Not used by the drop-down. |
DropDownTimeSelectionButtonStartColor | Gets or sets a start colour for the drop-down button. Not used by the drop-down. |
HourValueComponentBackColor | Gets or sets the background colour of the hours value box. |
HourValueComponentBackgroundEndColor | Gets or sets the colour the hours column's background gradient ends in. |
HourValueComponentBackgroundStartColor | Gets or sets the colour the hours column's background gradient starts from. |
HourValueComponentDisplayForeColor | Gets or sets the colour of the hours value in the drop-down. |
Interval | Gets or sets how far one click of an arrow moves the hours, minutes or seconds. |
MaxValue | Gets or sets an upper limit for the values. The drop-down columns keep their own fixed ranges. |
MinValue | Gets or sets a lower limit for the values. The drop-down columns keep their own fixed ranges. |
MinuteValueComponentBackColor | Gets or sets the background colour of the minutes value box. |
MinuteValueComponentBackgroundEndColor | Gets or sets the colour the minutes column's background gradient ends in. |
MinuteValueComponentBackgroundStartColor | Gets or sets the colour the minutes column's background gradient starts from. |
MinuteValueComponentDisplayForeColor | Gets or sets the colour of the minutes value in the drop-down. |
MousePressedValueChangeTriggerSpeed | Gets or sets how often a held-down arrow repeats, in milliseconds. |
PostMeridianValue | Gets or sets the text the AM/PM column shows for the afternoon and evening. |
SecondValueComponentBackColor | Gets or sets the background colour of the seconds value box. |
SecondValueComponentBackgroundEndColor | Gets or sets the colour the seconds column's background gradient ends in. |
SecondValueComponentBackgroundStartColor | Gets or sets the colour the seconds column's background gradient starts from. |
SecondValueComponentDisplayForeColor | Gets or sets the colour of the seconds value in the drop-down. |
ShouldAutoScaleTimePickerComponentsFont | Gets or sets whether TimePickerComponentsFont should be resized with the drop-down. |
ShouldCloseSelectorDropDownViewUponAcceptCancelChanges | Gets or sets whether the drop-down closes as soon as the user changes a value in it. |
ShouldDrawSpinnerButtonsInFullSize | Gets or sets whether the up and down arrows fill their buttons or are drawn half-size in the middle. |
SpinnerBackgroundBrushEndColor | Gets or sets the colour the arrows' gradient ends in at rest. |
SpinnerBackgroundBrushStartColor | Gets or sets the colour the arrows' gradient starts from at rest. |
SpinnerHoverBackgroundBrushEndColor | Gets or sets the colour an arrow's gradient ends in under the pointer. |
SpinnerHoverBackgroundBrushStartColor | Gets or sets the colour an arrow's gradient starts from under the pointer. |
SpinnerPressedBackgroundBrushEndColor | Gets or sets the colour an arrow's gradient ends in while it is held down. |
SpinnerPressedBackgroundBrushStartColor | Gets or sets the colour an arrow's gradient starts from while it is held down. |
TimeConvention | Gets or sets whether times are shown and picked on the twelve-hour or the twenty-four-hour clock. |
TimeMeridianValueComponentBackColor | Gets or sets the background colour of the AM/PM value box. |
TimeMeridianValueComponentBackgroundEndColor | Gets or sets the colour the AM/PM column's background gradient ends in. |
TimeMeridianValueComponentBackgroundStartColor | Gets or sets the colour the AM/PM column's background gradient starts from. |
TimeMeridianValueComponentDisplayForeColor | Gets or sets the colour of the AM/PM value in the drop-down. |
TimePickerComponentsFont | Gets or sets the font of the values in the drop-down, or null to size them to fit their boxes. |
TimePickerDropDownBackgroundEndColor | Gets or sets the colour the drop-down's background gradient ends in. |
TimePickerDropDownBackgroundStartColor | Gets or sets the colour the drop-down's background gradient starts from. |
TimeValue | Gets or sets the time shown in the control. |
TwelveHoursTimeDisplayFormat | Gets or sets the format the time is shown in on the twelve-hour clock. |
TwentyFourHoursTimeDisplayFormat | Gets or sets the format the time is shown in on the twenty-four-hour clock. |
ValueComponentBackColor | Gets or sets a background colour for the value boxes. The drop-down columns read the per-column colours instead. |
ValueComponentBorderColor | Gets or sets the colour of the border round each value box in the drop-down. |
ValueComponentBorderThickness | Gets or sets the width of the border round each value box in the drop-down. |
ValueDisplayTextFontOffSetFactor | Gets or sets how much smaller than its value box the area is that the value's font is sized to fit. |
ValueStringFormat | Gets or sets how each value is aligned in its box in the drop-down. |
| Methods | |
PerformDropDown | Opens the drop-down, or closes it if it is open. |
Properties
AnteMeridianValue
Gets or sets the text the AM/PM column shows for the morning.
ContentPadding
Gets or sets the space between the edge of the drop-down and its columns.
DropDownTimeSelectionButtonEndColor
Gets or sets an end colour for the drop-down button. Not used by the drop-down.
DropDownTimeSelectionButtonStartColor
Gets or sets a start colour for the drop-down button. Not used by the drop-down.
HourValueComponentBackColor
Gets or sets the background colour of the hours value box.
HourValueComponentBackgroundEndColor
Gets or sets the colour the hours column's background gradient ends in.
HourValueComponentBackgroundStartColor
Gets or sets the colour the hours column's background gradient starts from.
HourValueComponentDisplayForeColor
Gets or sets the colour of the hours value in the drop-down.
Interval
Gets or sets how far one click of an arrow moves the hours, minutes or seconds.
MaxValue
Gets or sets an upper limit for the values. The drop-down columns keep their own fixed ranges.
MinValue
Gets or sets a lower limit for the values. The drop-down columns keep their own fixed ranges.
MinuteValueComponentBackColor
Gets or sets the background colour of the minutes value box.
MinuteValueComponentBackgroundEndColor
Gets or sets the colour the minutes column's background gradient ends in.
MinuteValueComponentBackgroundStartColor
Gets or sets the colour the minutes column's background gradient starts from.
MinuteValueComponentDisplayForeColor
Gets or sets the colour of the minutes value in the drop-down.
MousePressedValueChangeTriggerSpeed
Gets or sets how often a held-down arrow repeats, in milliseconds.
PostMeridianValue
Gets or sets the text the AM/PM column shows for the afternoon and evening.
SecondValueComponentBackColor
Gets or sets the background colour of the seconds value box.
SecondValueComponentBackgroundEndColor
Gets or sets the colour the seconds column's background gradient ends in.
SecondValueComponentBackgroundStartColor
Gets or sets the colour the seconds column's background gradient starts from.
SecondValueComponentDisplayForeColor
Gets or sets the colour of the seconds value in the drop-down.
ShouldAutoScaleTimePickerComponentsFont
Gets or sets whether TimePickerComponentsFont should be resized with the drop-down.
ShouldCloseSelectorDropDownViewUponAcceptCancelChanges
Gets or sets whether the drop-down closes as soon as the user changes a value in it.
ShouldDrawSpinnerButtonsInFullSize
Gets or sets whether the up and down arrows fill their buttons or are drawn half-size in the middle.
SpinnerBackgroundBrushEndColor
Gets or sets the colour the arrows' gradient ends in at rest.
SpinnerBackgroundBrushStartColor
Gets or sets the colour the arrows' gradient starts from at rest.
SpinnerHoverBackgroundBrushEndColor
Gets or sets the colour an arrow's gradient ends in under the pointer.
SpinnerHoverBackgroundBrushStartColor
Gets or sets the colour an arrow's gradient starts from under the pointer.
SpinnerPressedBackgroundBrushEndColor
Gets or sets the colour an arrow's gradient ends in while it is held down.
SpinnerPressedBackgroundBrushStartColor
Gets or sets the colour an arrow's gradient starts from while it is held down.
TimeConvention
Gets or sets whether times are shown and picked on the twelve-hour or the twenty-four-hour clock.
TimeMeridianValueComponentBackColor
Gets or sets the background colour of the AM/PM value box.
TimeMeridianValueComponentBackgroundEndColor
Gets or sets the colour the AM/PM column's background gradient ends in.
TimeMeridianValueComponentBackgroundStartColor
Gets or sets the colour the AM/PM column's background gradient starts from.
TimeMeridianValueComponentDisplayForeColor
Gets or sets the colour of the AM/PM value in the drop-down.
TimePickerComponentsFont
Gets or sets the font of the values in the drop-down, or null to size them to fit their boxes.
TimePickerDropDownBackgroundEndColor
Gets or sets the colour the drop-down's background gradient ends in.
TimePickerDropDownBackgroundStartColor
Gets or sets the colour the drop-down's background gradient starts from.
TimeValue
Gets or sets the time shown in the control.
TwelveHoursTimeDisplayFormat
Gets or sets the format the time is shown in on the twelve-hour clock.
TwentyFourHoursTimeDisplayFormat
Gets or sets the format the time is shown in on the twenty-four-hour clock.
ValueComponentBackColor
Gets or sets a background colour for the value boxes. The drop-down columns read the per-column colours instead.
ValueComponentBorderColor
Gets or sets the colour of the border round each value box in the drop-down.
ValueComponentBorderThickness
Gets or sets the width of the border round each value box in the drop-down.
ValueDisplayTextFontOffSetFactor
Gets or sets how much smaller than its value box the area is that the value's font is sized to fit.
ValueStringFormat
Gets or sets how each value is aligned in its box in the drop-down.
Methods
PerformDropDown
Opens the drop-down, or closes it if it is open.