The properties of System.Windows.Forms.DateTimePicker are listed below. For a list of all members, see the DateTimePicker Members list.
See Also: Inherited members from System.Windows.Forms.Control
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. |