Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / TextBox Class / Watermark Property


    Watermark Property (TextBox)
    Gets or sets the watermark that will be displayed when the Text property is null or empty.
    Syntax
    'Declaration
     
    
    Public Property Watermark As Object
     
    'Usage
     
    
    Dim instance As TextBox
    Dim value As Object
     
    instance.Watermark = value
     
    value = instance.Watermark
    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