BCGControlBar Library for .NET
AllowTypeOnlyTwoDigitsInYear Property




Specifies how the year value of the date time control can be changed from the keyboard. If true, the user can type only last 2 digits. If the types value is less than 70 than the first 2 digits will be “20”, otherwise “19”.
Syntax
'Declaration
 
Public Property AllowTypeOnlyTwoDigitsInYear As Boolean
'Usage
 
Dim instance As ToolbarDateTimeControl
Dim value As Boolean
 
instance.AllowTypeOnlyTwoDigitsInYear = value
 
value = instance.AllowTypeOnlyTwoDigitsInYear
public bool AllowTypeOnlyTwoDigitsInYear {get; set;}
public: __property bool get_AllowTypeOnlyTwoDigitsInYear();
public: __property void set_AllowTypeOnlyTwoDigitsInYear( 
   bool value
);
public:
property bool AllowTypeOnlyTwoDigitsInYear {
   bool get();
   void set (    bool value);
}
Requirements

Target Platforms: 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

Reference

ToolbarDateTimeControl Class
ToolbarDateTimeControl Members

Send Feedback