Gets or sets the default date for the control.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Overridable Property DateDefault As Date  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As DateTimeCellType
Dim value As Date
 
instance.DateDefault = value
 
value = instance.DateDefault  | 
 
| C# |   | 
|---|
public virtual DateTime DateDefault {get; set;} | 
 
            
            
            Property Value
DateTime object containing the default date
 
            
			
			
            
            
            
Example
This example sets the default date for the cell.
             
| C# |  Copy Code | 
|---|
FarPoint.Win.Spread.CellType.DateTimeCellType dt = new FarPoint.Win.Spread.CellType.DateTimeCellType(); 
dt.DateDefault = System.DateTime.Now; 
dt.TimeDefault = System.DateTime.Now; 
dt.TwoDigitYearMax = 2000;  | 
 
| Visual Basic |  Copy Code | 
|---|
FarPoint.Win.Spread.CellType.DateTimeCellType dt = new FarPoint.Win.Spread.CellType.DateTimeCellType(); 
dt.DateDefault = System.DateTime.Now; 
dt.TimeDefault = System.DateTime.Now; 
dt.TwoDigitYearMax = 2000;  | 
 
 
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also