Export (0) Print
Expand All

DateTimePicker.ValueChanged Event

Occurs when the Value property changes.

[Visual Basic]
Public Event ValueChanged As EventHandler
[C#]
public event EventHandler ValueChanged;
[C++]
public: __event EventHandler* ValueChanged;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type EventArgs.

Remarks

User input is validated before this event is raised. This event is not raised when the entered date is earlier than MinDateTime or later than MaxDateTime.

For more information about handling events, see Consuming Events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DateTimePicker Class | DateTimePicker Members | System.Windows.Forms Namespace | OnValueChanged

Show:
© 2014 Microsoft