Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / DateUpDown Class / DefaultValue Property


In This Topic
    DefaultValue Property (DateUpDown)
    In This Topic
    Gets or sets the default value used by the DateUpDown control.
    Syntax
    'Declaration
     
    
    <TypeConverterAttribute(Xceed.Maui.Toolkit.DateOnlyTypeConverter)>
    Public Overrides Property DefaultValue As Nullable(Of DateOnly)
    'Usage
     
    
    Dim instance As DateUpDown
    Dim value As Nullable(Of DateOnly)
     
    instance.DefaultValue = value
     
    value = instance.DefaultValue
    [TypeConverter(Xceed.Maui.Toolkit.DateOnlyTypeConverter)]
    public override Nullable<DateOnly> DefaultValue {get; set;}
    Remarks

    The default value will be today's date if nothing else is specified.

    Requirements

    Target Platforms: Windows 11, Windows 10, 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