Xceed Toolkit for Maui v2.0 Documentation
DefaultValue Property (TimeUpDown)


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > TimeUpDown Class : DefaultValue Property
Gets or sets the default value used by the TimeUpDown control.
Syntax
'Declaration
 
<TypeConverterAttribute(Xceed.Maui.Toolkit.TimeOnlyTypeConverter)>
Public Overrides Property DefaultValue As Nullable(Of TimeOnly)
'Usage
 
Dim instance As TimeUpDown
Dim value As Nullable(Of TimeOnly)
 
instance.DefaultValue = value
 
value = instance.DefaultValue
[TypeConverter(Xceed.Maui.Toolkit.TimeOnlyTypeConverter)]
public override Nullable<TimeOnly> DefaultValue {get; set;}
Remarks
This value will be used to set the Value property when the Text property is set to null.
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

Reference

TimeUpDown Class
TimeUpDown Members
Base Implementation in DefaultValue