Xceed Toolkit for Maui v2.0 Documentation
TextBox Class
Members  Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace : TextBox Class
Like Maui Framework's Entry control, the TextBox allows to input text, but is more flexible than said control since, for example, it allows to remove the focus underline, modify the Borders & their CornerRadius, change the style of the Clear button & add more than just text to the Watermark.
Syntax
'Usage
 
Dim instance As TextBox
Example

The following code will display this control:

<xctk:TextBox Text="ABC"
              ClearButtonVisibility="WhileEditing"
              WidthRequest="150"
              IsFocusUnderlineVisible="True"
              Watermark="Enter text here..."/>
Inheritance Hierarchy

System.Object
   Microsoft.Maui.Controls.BindableObject
      Microsoft.Maui.Controls.Element
         Microsoft.Maui.Controls.NavigableElement
            Microsoft.Maui.Controls.VisualElement
               Microsoft.Maui.Controls.View
                  Microsoft.Maui.Controls.Compatibility.Layout
                     Microsoft.Maui.Controls.TemplatedView
                        Xceed.Maui.Toolkit.Control
                           Xceed.Maui.Toolkit.TextBox
                              Xceed.Maui.Toolkit.AutoCompleteTextBox
                              Xceed.Maui.Toolkit.MaskedTextBox

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

TextBox Members
Xceed.Maui.Toolkit Namespace