System.Windows.Forms.DateTimePicker.Value Property

Gets or sets the date/time value assigned to the control.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.Bindable(true)]
public DateTime Value { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the DateTimePicker.Value property has not been changed in code or by the user, it is set to the current date and time (DateTime.Now).

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0