The members of System.Windows.Forms.DateTimePicker are listed below.
See Also: Inherited members from System.Windows.Forms.Control
Initializes a new instance of the System.Windows.Forms.DateTimePicker class. |
static readonly | MaxDateTime | DateTime (12/31/9998 12:00:00 AM).
Specifies the maximum date value of the System.Windows.Forms.DateTimePicker control. This field is read-only. |
static readonly | MinDateTime | DateTime (1/1/1753 12:00:00 AM).
Gets the minimum date value of the System.Windows.Forms.DateTimePicker control. |
static readonly | DefaultMonthBackColor | System.Drawing.Color.
Specifies the default month background color of the System.Windows.Forms.DateTimePicker control. This field is read-only. |
static readonly | DefaultTitleBackColor | System.Drawing.Color.
Specifies the default title back color of the System.Windows.Forms.DateTimePicker control. This field is read-only. |
static readonly | DefaultTitleForeColor | System.Drawing.Color.
Specifies the default title foreground color of the System.Windows.Forms.DateTimePicker control. This field is read-only. |
static readonly | DefaultTrailingForeColor | System.Drawing.Color.
Specifies the default trailing foreground color of the System.Windows.Forms.DateTimePicker control. This field is read-only. |
override | BackColor | System.Drawing.Color.
Gets or sets a value indicating the background color of the System.Windows.Forms.DateTimePicker control. |
override | BackgroundImage | System.Drawing.Image.
Gets or sets the background image for the control. |
override | BackgroundImageLayout | ImageLayout.
Gets or sets the layout of the background image of the System.Windows.Forms.DateTimePicker control. |
CalendarFont | System.Drawing.Font.
Gets or sets the font style applied to the calendar. | |
CalendarForeColor | System.Drawing.Color.
Gets or sets the foreground color of the calendar. | |
CalendarMonthBackground | System.Drawing.Color.
Gets or sets the background color of the calendar month. | |
CalendarTitleBackColor | System.Drawing.Color.
Gets or sets the background color of the calendar title. | |
CalendarTitleForeColor | System.Drawing.Color.
Gets or sets the foreground color of the calendar title. | |
CalendarTrailingForeColor | System.Drawing.Color.
Gets or sets the foreground color of the calendar trailing dates. | |
Checked | bool.
Gets or sets a value indicating whether the DateTimePicker.Value property has been set with a valid date/time value and the displayed value is able to be updated. | |
CustomFormat | string.
Gets or sets the custom date/time format string. | |
DropDownAlign | LeftRightAlignment.
Gets or sets the alignment of the drop-down calendar on the System.Windows.Forms.DateTimePicker control. | |
override | ForeColor | System.Drawing.Color.
Gets or sets the foreground color of the System.Windows.Forms.DateTimePicker control. |
Format | DateTimePickerFormat.
Gets or sets the format of the date and time displayed in the control. | |
MaxDate | DateTime.
Gets or sets the maximum date and time that can be selected in the control. | |
[read-only] static | MaximumDateTime | DateTime.
Gets the maximum date value allowed for the System.Windows.Forms.DateTimePicker control. |
MinDate | DateTime.
Gets or sets the minimum date and time that can be selected in the control. | |
[read-only] static | MinimumDateTime | DateTime.
Gets the minimum date value allowed for the System.Windows.Forms.DateTimePicker control. |
Padding | Padding.
Gets or sets the spacing between the contents of the System.Windows.Forms.DateTimePicker control and its edges. | |
[read-only] | PreferredHeight | int.
Gets the preferred height of the System.Windows.Forms.DateTimePicker control. |
RightToLeftLayout | bool.
Gets or sets whether the contents of the System.Windows.Forms.DateTimePicker are laid out from right to left. | |
ShowCheckBox | bool.
Gets or sets a value indicating whether a check box is displayed to the left of the selected date. | |
ShowUpDown | bool.
Gets or sets a value indicating whether a spin button control (also known as an up-down control) is used to adjust the date/time value. | |
override | Text | string.
Gets or sets the text associated with this control. |
Value | DateTime.
Gets or sets the date/time value assigned to the control. |
[read-only] override | CreateParams | CreateParams.
Returns the System.Windows.Forms.CreateParams used to create this window. |
[read-only] override | DefaultSize | System.Drawing.Size. Documentation for this section has not yet been entered. |
override | DoubleBuffered | bool.
Gets or sets a value indicating whether the control should redraw its surface using a secondary buffer. Setting this property has no effect on the System.Windows.Forms.DateTimePicker control. |
override | ToString()
|
override | CreateAccessibilityInstance()
| |
override | CreateHandle()
| |
override | DestroyHandle()
| |
override | Dispose(bool)Documentation for this section has not yet been entered. | |
override | IsInputKey(Keys)
| |
OnCloseUp(EventArgs)
| ||
OnDropDown(EventArgs)
| ||
override | OnFontChanged(EventArgs)
| |
OnFormatChanged(EventArgs)
| ||
override | OnHandleCreated(EventArgs)
| |
override | OnHandleDestroyed(EventArgs)
| |
OnRightToLeftLayoutChanged(EventArgs)
| ||
override | OnSystemColorsChanged(EventArgs)
| |
OnValueChanged(EventArgs)
| ||
override | SetBoundsCore(int, int, int, int, BoundsSpecified)Documentation for this section has not yet been entered. | |
override | WndProc(ref Message)Documentation for this section has not yet been entered. |
BackColorChanged |
Occurs when the value of the DateTimePicker.BackColor property changes. | |
BackgroundImageChanged |
Occurs when the value of the DateTimePicker.BackgroundImage property changes. | |
BackgroundImageLayoutChanged |
Occurs when the value of the DateTimePicker.BackgroundImageLayout property changes. | |
Click |
Occurs when the control is clicked. | |
CloseUp |
Occurs when the drop-down calendar is dismissed and disappears. | |
DoubleClick |
Occurs when the control is double-clicked. | |
DropDown |
Occurs when the drop-down calendar is shown. | |
ForeColorChanged |
Occurs when the value of the DateTimePicker.ForeColor property changes. | |
FormatChanged |
Occurs when the DateTimePicker.Format property value has changed. | |
MouseClick |
Occurs when the control is clicked with the mouse. | |
MouseDoubleClick |
Occurs when the control is double-clicked with the mouse. | |
PaddingChanged |
Occurs when the value of the DateTimePicker.Padding property changes. | |
Paint |
Occurs when the control is redrawn. | |
RightToLeftLayoutChanged |
Occurs when the DateTimePicker.RightToLeftLayout property changes. | |
TextChanged |
Occurs when the value of the DateTimePicker.Text property changes. | |
ValueChanged |
Occurs when the DateTimePicker.Value property changes. |