Search
DateTimePicker Members
Constructors Properties Methods Events
 


Represents an input control with the ability to parse and select dates from a popup calendar and/or time from a popup list.

The following tables list the members exposed by the DateTimePicker type.

 Public Constructors

  Name Description

DateTimePicker

Initializes a new instance of the DateTimePicker class.

 Public Properties

  Name Description

allowEmptyInput

Gets or sets a value indicating whether empty input is considered valid. (Inherited from Picker.)

autoComplete

Gets or sets a value indicating whether the control will try to parse incomplete input.

buttonStyle

Gets or sets a value indicating the display mode of the dropdown button. (Inherited from Picker.)

clearButtonStyle

Gets or sets a value indicating the display mode of the clear button. (Inherited from Picker.)

createWrapper

Gets or sets a value indicating whether a wrapper div element should be created for the control. (Inherited from Picker.)

datePartSelect

Gets or sets a value indicating whether date part selection is enabled.

dropdownHeight

Gets or sets the height of the dropdown. (Inherited from Picker.)

dropdownOffset

Gets or sets the offset of the dropdown. (Inherited from Picker.)

dropdownWidth

Gets or sets the width of the dropdown. (Inherited from Picker.)

format

Gets the formatting of the date-time value displayed in the control.

interval

Gets or sets the time interval.

invalidString

Gets or sets the string to display when the input is invalid. (Inherited from Picker.)

locale

Gets or sets the locale object used to format and display dates.

maxTime

Gets or sets the maximum time value, displayed in the DateTimePicker:

minTime

Gets or sets the minimum time value, displayed by the DateTimePicker.

mode

Gets or sets the mode of the control.

state

Gets or sets the validation state of the control. (Inherited from Picker.)

 Public Methods

  Name Description

advance

Advances the control's date with the specified number of years, months and/or days.

attach

Control.attach override.

detach

Control.detach override.

dispose

Control.dispose override. (Inherited from Picker.)

draw

Control.draw override.

validateInput

Validates keyboard input.

 Public Events

  Name Description

dropDownClose

Raised when the dropdown is closed. (Inherited from Picker.)

dropDownShow

Raised when the dropdown is shown. (Inherited from Picker.)

stateChanged

Raised when the control validation state is changed. (Inherited from Picker.)

valueChanged

Raised when the control value is changed. (Inherited from Picker.)

valueChanging

Raised when the control value is changing. (Inherited from Picker.)

 See Also