[]
        
(Showing Draft Content)

C1.Win.C1InputPanel.InputTimePicker

InputTimePicker Class

Represents a time-picker element in a C1InputPanel control.

Inheritance
InputTimePicker
Namespace: C1.Win.C1InputPanel
Assembly: C1.Win.C1InputPanel.4.8.dll
Syntax
public class InputTimePicker : InputComponent, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable

Constructors

Name Description
InputTimePicker()

Initializes a new instance of an InputTimePicker.

Properties

Name Description
BoundToTimeField

Gets or sets whether the BoundValue property should return a TimeSpan value instead of DateTime.

BoundValue

Gets or sets the bound time value associated with this component.

ContextMenuStrip

Gets or sets the context menu strip associated with the text box.

CueBanner

Gets or sets the textual cue, or tip, that is displayed by InputTimePicker to prompt the user for information.

DefaultElementWidth

Gets the default width of the InputTimePicker.

DefaultWidth

Gets the default width of the InputTimePicker.

Format

Gets or sets the custom time format string.

InitialSelection

Gets or sets a value determines the selection position when a control receives input focus.

NotSetVerticalAlign

Gets actual vertical alignment when the VerticalAlign property is equal to NotSet.

ReadOnly

Gets or sets a value indicating whether the contents of the component can be changed.

ShowSpinButtons

Gets or sets whether the spin buttons should appear in the InputTimePicker.

SpinButtonPressDelay

Gets or sets the interval before the spin buttons start firing click events, in milliseconds.

SpinButtonPressInterval

Gets or sets the interval between clicks when the spin buttons are kept pressed, in milliseconds.

StandardFormat

Sets the standard time format.

Text

Gets or sets the text associated with the component.

TextAlign

Gets or sets how text is aligned in the InputTimePicker.

TextBox

Gets the TextBox control contained in this InputTimePicker.

TimeFormat

Gets the DateTimeFormatInfo that is used for data formatting.

Value

Gets or sets the time value assigned to the component.

ValueIsNull

Gets or sets whether the selected time is null.

Methods

Name Description
DownButton()

Simulates a click of the down button.

OnFormatChanged(EventArgs)

Raises the FormatChanged event.

OnPrepareTimeFormat(PrepareDateTimeFormatEventArgs)

Raises the PrepareTimeFormat event.

OnSpinButtonClick(SpinButtonClickEventArgs)

Raises the SpinButtonClick event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ResetValue()
ShouldSerializeStandardFormat()
ShouldSerializeValue()
UpButton()

Simulates a click of the up button.

Events

Name Description
FormatChanged

Fires when the Format property changes.

PrepareTimeFormat

Fires when the TimeFormat property is recreated.

SpinButtonClick

Fires when the up/down buttons are clicked, before their built-in processing.

ValueChanged

Fires when the Value property changes.