Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
AutoFillDate Property
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > XamMaskedInput Class : AutoFillDate Property

Specifies whether to auto-fill empty date components when the user attempts to leave the editor. The default is None.

Syntax

Visual Basic (Declaration) 
Public Property AutoFillDate As AutoFillDate
C# 
public AutoFillDate AutoFillDate {get; set;}

Remarks

If the user types in an incomplete date then the editor will consider the input invalid and take appropriate actions based on the ValueInput.InvalidValueBehavior property setting. AutoFillDate lets you specify that such partial date inputs be auto-filled using the current date.

If you set the AutoFillDate to Year then the user will be required to enter both the month and the day. The year if left blank will be filled in with the current year. If AutoFillDate is set to MonthAndYear then the user will be required to enter the day. The month and year if left blank will be filled in with the current month and the current year respectively.

See Also