DateTimePicker.MaximumDateTime Property


Gets the maximum date value allowed for the DateTimePicker control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static DateTime MaximumDateTime { get; }

Property Value

Type: System.DateTime

A DateTime representing the maximum date value for the MaximumDateTime control.

The maximum date is set to December 31, 9998.

.NET Framework
Available since 2.0
Return to top