Xceed Grid for WinForms v4.3 Documentation
Value Property (WinDatePicker)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinDatePicker Class : Value Property
Gets or sets the datetime value assigned to the date picker.
Syntax
'Declaration
 
<DescriptionAttribute("The datetime value assigned to the date picker.")>
<CategoryAttribute("Data")>
<BindableAttribute(True)>
<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 Value As Date
'Usage
 
Dim instance As WinDatePicker
Dim value As Date
 
instance.Value = value
 
value = instance.Value
[Description("The datetime value assigned to the date picker.")]
[Category("Data")]
[Bindable(true)]
[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 Value {get; set;}

Property Value

A System.DateTime value representing the assigned datetime. By default, System.DateTime.Today.
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

WinDatePicker Class
WinDatePicker Members