TimePickerDropDown
A custom control providing sophisticated UI, UX, and rich features for time picking functionality.
public class TimePickerDropDown : Control, ITimePickerHost
Inherits from / implements: Control, ITimePickerHost
Members at a glance
TimePickerDropDown | Constructs a new instance of TimePickerDropDown class. |
AnteMeridianValue | Gets or sets the ante meridian value. |
ContentPadding | Gets or sets the content padding. |
DropDownHostConfiguration | Gets or sets the drop down host configuration. |
DropDownTimeSelectionButtonEndColor | Gets or sets the end color of the drop-down time selection button. |
DropDownTimeSelectionButtonStartColor | Gets or sets the start color of the drop-down time selection button. |
EnforceTimeOnlyFormats | Gets or sets a value indicating whether the control should enforce time-only formats, such as h, H, s, m, t. |
HourValueComponentBackColor | Gets or sets the backcolor of the hour value displaying component. |
HourValueComponentBackgroundEndColor | Gets or sets the end color of the hour value component background. |
HourValueComponentBackgroundStartColor | Gets or sets the start color of the hour value component background. |
HourValueComponentDisplayForeColor | Gets or sets the forecolor of the hour value component display. |
Interval | Gets or sets the interval. |
MaxValue | Gets or sets the maximum value. |
MinValue | Gets or sets the minimum value. |
MinuteValueComponentBackColor | Gets or sets the backcolor of the minute value displaying component. |
MinuteValueComponentBackgroundEndColor | Gets or sets the end color of the minute value component background. |
MinuteValueComponentBackgroundStartColor | Gets or sets the start color of the minute value component background. |
MinuteValueComponentDisplayForeColor | Gets or sets the forecolor of the minute value component display. |
MousePressedValueChangeTriggerSpeed | Gets or sets the mouse pressed value change trigger speed. |
PostMeridianValue | Gets or sets the post meridian value. |
SecondValueComponentBackColor | Gets or sets the backcolor of the second display value component. |
SecondValueComponentBackgroundEndColor | Gets or sets the end color of the second value component background. |
SecondValueComponentBackgroundStartColor | Gets or sets the start color of the second value component background. |
SecondValueComponentDisplayForeColor | Gets or sets the forecolor of the second value component display. |
ShouldAutoScaleTimePickerComponentsFont | Gets or sets whether the control should automatically scale time picker components font as and when the user re-sizes the drop-down window. |
ShouldCloseSelectorDropDownViewUponAcceptCancelChanges | Gets or sets a value indicating whether the control should close selector drop-down view upon the user accepting / canceling the changes inside the hosted view. |
ShouldDisplayClock | Gets or sets a value indicating whether the control should display the analog clock control to display the selected time. |
ShouldDrawSpinnerButtonsInFullSize | Gets or sets whether the control should draw the full size of the spinner buttons. |
SpinnerBackgroundBrushEndColor | Gets or sets the end color of the spinner background brush. |
SpinnerBackgroundBrushStartColor | Gets or sets the start color of the spinner background brush. |
SpinnerHoverBackgroundBrushEndColor | Gets or sets the end color of the spinner hover background brush. |
SpinnerHoverBackgroundBrushStartColor | Gets or sets the start color of the spinner hover background brush. |
SpinnerPressedBackgroundBrushEndColor | Gets or sets the end color of the spinner pressed background brush. |
SpinnerPressedBackgroundBrushStartColor | Gets or sets the start color of the spinner pressed background brush. |
TimeConvention | Gets or sets the time convention. |
TimeMeridianValueComponentBackColor | Gets or sets the backcolor of the time meridian value displaying component. |
TimeMeridianValueComponentBackgroundEndColor | Gets or sets the end color of the time meridian value component background. |
TimeMeridianValueComponentBackgroundStartColor | Gets or sets the start color of the time meridian value component background. |
TimeMeridianValueComponentDisplayForeColor | Gets or sets the forecolor of the time meridian value component display. |
TimePickerComponentsFont | Gets or sets the time picker various components' font. |
TimePickerDropDownBackgroundEndColor | Gets or sets the end color of the time picker drop-down background. |
TimePickerDropDownBackgroundStartColor | Gets or sets the start color of the time picker drop-down background. |
TimeValue | Gets or sets a value indicating whether the should override default system am / pm text with customised am / pm text. |
TwelveHoursTimeDisplayFormat | Gets or sets the twelve hours time display format. |
TwentyFourHoursTimeDisplayFormat | Gets or sets the twenty four hours time display format. |
ValueComponentBackColor | Gets or sets the backcolor of the value component. |
ValueComponentBorderColor | Gets or sets the color of the value component's border. |
ValueComponentBorderThickness | Gets or sets the value component's border thickness. |
ValueDisplayTextFontOffSetFactor | Gets or sets the value display text font offset factor. |
ValueStringFormat | Gets or sets the value string format. |
OnDropDownViewClosed | Called once the time selector has left the screen. |
OnDropDownViewOpened | Called once the time selector is on screen. |
OnHandleCreated | Raises the HandleCreated event. TimePickerDropDown overrides it so the control's own handling runs alongside the base behavior. |
OnKeyUp | Handles the KeyUp event. |
OnParentChanged | Handles the ParentChanged event. |
PerformDropDown | Performs the time picker drop-down. |
DropDownViewClosed | Raised when the drop-down view is closed. |
DropDownViewOpened | Raised when the drop-down view is opened. |
Constructors
TimePickerDropDown
Constructs a new instance of TimePickerDropDown class.
Properties
AnteMeridianValue
Gets or sets the ante meridian value.
ContentPadding
Gets or sets the content padding.
DropDownHostConfiguration
Gets or sets the drop down host configuration.
DropDownTimeSelectionButtonEndColor
Gets or sets the end color of the drop-down time selection button.
DropDownTimeSelectionButtonStartColor
Gets or sets the start color of the drop-down time selection button.
EnforceTimeOnlyFormats
Gets or sets a value indicating whether the control should enforce time-only formats, such as h, H, s, m, t.
HourValueComponentBackColor
Gets or sets the backcolor of the hour value displaying component.
HourValueComponentBackgroundEndColor
Gets or sets the end color of the hour value component background.
HourValueComponentBackgroundStartColor
Gets or sets the start color of the hour value component background.
HourValueComponentDisplayForeColor
Gets or sets the forecolor of the hour value component display.
Interval
Gets or sets the interval.
MaxValue
Gets or sets the maximum value.
MinValue
Gets or sets the minimum value.
MinuteValueComponentBackColor
Gets or sets the backcolor of the minute value displaying component.
MinuteValueComponentBackgroundEndColor
Gets or sets the end color of the minute value component background.
MinuteValueComponentBackgroundStartColor
Gets or sets the start color of the minute value component background.
MinuteValueComponentDisplayForeColor
Gets or sets the forecolor of the minute value component display.
MousePressedValueChangeTriggerSpeed
Gets or sets the mouse pressed value change trigger speed.
PostMeridianValue
Gets or sets the post meridian value.
SecondValueComponentBackColor
Gets or sets the backcolor of the second display value component.
SecondValueComponentBackgroundEndColor
Gets or sets the end color of the second value component background.
SecondValueComponentBackgroundStartColor
Gets or sets the start color of the second value component background.
SecondValueComponentDisplayForeColor
Gets or sets the forecolor of the second value component display.
ShouldAutoScaleTimePickerComponentsFont
Gets or sets whether the control should automatically scale time picker components font as and when the user re-sizes the drop-down window.
ShouldCloseSelectorDropDownViewUponAcceptCancelChanges
Gets or sets a value indicating whether the control should close selector drop-down view upon the user accepting / canceling the changes inside the hosted view.
ShouldDisplayClock
Gets or sets a value indicating whether the control should display the analog clock control to display the selected time.
ShouldDrawSpinnerButtonsInFullSize
Gets or sets whether the control should draw the full size of the spinner buttons.
SpinnerBackgroundBrushEndColor
Gets or sets the end color of the spinner background brush.
SpinnerBackgroundBrushStartColor
Gets or sets the start color of the spinner background brush.
SpinnerHoverBackgroundBrushEndColor
Gets or sets the end color of the spinner hover background brush.
SpinnerHoverBackgroundBrushStartColor
Gets or sets the start color of the spinner hover background brush.
SpinnerPressedBackgroundBrushEndColor
Gets or sets the end color of the spinner pressed background brush.
SpinnerPressedBackgroundBrushStartColor
Gets or sets the start color of the spinner pressed background brush.
TimeConvention
Gets or sets the time convention.
TimeMeridianValueComponentBackColor
Gets or sets the backcolor of the time meridian value displaying component.
TimeMeridianValueComponentBackgroundEndColor
Gets or sets the end color of the time meridian value component background.
TimeMeridianValueComponentBackgroundStartColor
Gets or sets the start color of the time meridian value component background.
TimeMeridianValueComponentDisplayForeColor
Gets or sets the forecolor of the time meridian value component display.
TimePickerComponentsFont
Gets or sets the time picker various components' font.
TimePickerDropDownBackgroundEndColor
Gets or sets the end color of the time picker drop-down background.
TimePickerDropDownBackgroundStartColor
Gets or sets the start color of the time picker drop-down background.
TimeValue
Gets or sets a value indicating whether the should override default system am / pm text with customised am / pm text.
TwelveHoursTimeDisplayFormat
Gets or sets the twelve hours time display format.
TwentyFourHoursTimeDisplayFormat
Gets or sets the twenty four hours time display format.
ValueComponentBackColor
Gets or sets the backcolor of the value component.
ValueComponentBorderColor
Gets or sets the color of the value component's border.
ValueComponentBorderThickness
Gets or sets the value component's border thickness.
ValueDisplayTextFontOffSetFactor
Gets or sets the value display text font offset factor.
ValueStringFormat
Gets or sets the value string format.
Methods
OnDropDownViewClosed
Called once the time selector has left the screen.
OnDropDownViewOpened
Called once the time selector is on screen.
OnHandleCreated
Raises the HandleCreated event. TimePickerDropDown overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnKeyUp
Handles the KeyUp event.
- e
- The
KeyEventArgsinstance containing the event data.
OnParentChanged
Handles the ParentChanged event.
- e
- The
EventArgsinstance containing the event data.
PerformDropDown
Performs the time picker drop-down.
Events
DropDownViewClosed
Raised when the drop-down view is closed.
DropDownViewOpened
Raised when the drop-down view is opened.