Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinDatePicker Class / DefaultValue Property


In This Topic
    DefaultValue Property (WinDatePicker)
    In This Topic
    Gets the default value of the Value property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property DefaultValue As Date
    'Usage
     
    Dim instance As WinDatePicker
    Dim value As Date
     
    value = instance.DefaultValue
    protected virtual DateTime DefaultValue {get;}

    Property Value

    A System.DateTime value representing the default value of the Value property. Unless overridden, System.DateTime.Today.
    Remarks

    When overriding DefaultValue in a derived class, the value returned by your implementation should not be dynamic.

    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