Xceed Grid for WinForms v4.3 Documentation
NullDate Property (WinCalendar)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalendar Class : NullDate Property
Gets or sets System.DateTime value assigned to the calendar when its SelectedDate is a null reference (Nothing in Visual Basic).
Syntax
'Declaration
 
<DescriptionAttribute("The DateTime value assigned to the calendar when its SelectedDate is null (Nothing in Visual Basic).")>
<CategoryAttribute("Data")>
<BindableAttribute(False)>
<EditorAttribute("Xceed.Editors.Design.CalendarDateTypeUIEditor,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
Public Property NullDate As Date
'Usage
 
Dim instance As WinCalendar
Dim value As Date
 
instance.NullDate = value
 
value = instance.NullDate
[Description("The DateTime value assigned to the calendar when its SelectedDate is null (Nothing in Visual Basic).")]
[Category("Data")]
[Bindable(false)]
[Editor("Xceed.Editors.Design.CalendarDateTypeUIEditor,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]
public DateTime NullDate {get; set;}

Property Value

A System.DateTime value representing the date assigned to the calendar when its SelectedDate is a null reference (Nothing in Visual Basic). By default, DefaultNullDate.
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

WinCalendar Class
WinCalendar Members