Version

CenturyThreshold Property

Gets sets value that is used to autofill year field to the 20th or 21st century if only 1 or 2 digits are entered by user.
Syntax
'Declaration
 
Public Property CenturyThreshold As Integer
public int CenturyThreshold {get; set;}
Remarks

Range of values: from -1 to 99.

If value is set to -1, then autofill is disabled.

If entered year is less or equal to the value of that property, then 2000 is added to the year field.

If entered year is larger than the value of that property and less than 100, then 1900 is added to the year field.

Default value is 29.

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