Version

UseLastGoodDate Property

Gets sets ability to automatically use the last good date value when control loses focus and entered value cannot be converted to a date.
Syntax
'Declaration
 
Public Property UseLastGoodDate As Boolean
public bool UseLastGoodDate {get; set;}
Remarks

Notes: If entered date can be converted to a date, but it is outside of minimum or maximum limits, or value of day field is larger than maximum day for a particular month, then that property is not applied to that date.

If Nullable property is enabled and all fields were erased by user, then that entry is considered as valid and null is used.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also