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


In This Topic
    ClearButtonVisibility Property
    In This Topic
    Gets or sets if the Clear button is visible or not.
    Syntax
    'Declaration
     
    
    Public Property ClearButtonVisibility As ClearButtonVisibility
    'Usage
     
    
    Dim instance As TextBox
    Dim value As ClearButtonVisibility
     
    instance.ClearButtonVisibility = value
     
    value = instance.ClearButtonVisibility
    public ClearButtonVisibility ClearButtonVisibility {get; set;}
    Remarks

    The Clear button is used to clear the content of the TextBox. 

    The default value for this property is Never, which hides this button at all times.

    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