Intersoft ClientUI Documentation
UXTextBox Class
Members 



Represents a control that can display or edit unformatted text.
Object Model
UXTextBox ClassISFramework Class
Syntax
<DescriptionAttribute("Represents a control that can display or edit unformatted text.")>
<TemplatePartAttribute(Name="WatermarkElement", Type=System.Windows.Controls.TextBlock)>
Public Class UXTextBox 
   Inherits Intersoft.Client.Framework.ISTextBox
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.Input.ICommandSource 
Dim instance As UXTextBox
[DescriptionAttribute("Represents a control that can display or edit unformatted text.")]
[TemplatePartAttribute(Name="WatermarkElement", Type=System.Windows.Controls.TextBlock)]
public class UXTextBox : Intersoft.Client.Framework.ISTextBox, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.Input.ICommandSource  
[DescriptionAttribute("Represents a control that can display or edit unformatted text.")]
[TemplatePartAttribute(Name="WatermarkElement", Type=System.Windows.Controls.TextBlock)]
public ref class UXTextBox : public Intersoft.Client.Framework.ISTextBox, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.Input.ICommandSource  
Remarks

UXTextBox is a fundamental input control generally used to obtain input data from users through input devices such as keyboard. Using UXTextBox in XAML is straightforward and easy, you simply define an instance of the UXTextBox and set the Text property for an initial text. In data bound application, you bind the Text property to the data entity specified in the data context by using Binding extension markup such as shown in the following example.

XAML
Copy Code
<Intersoft:FieldLabel Header="Author:">
        <Intersoft:UXTextBox Text="{Binding Mode=TwoWay, Path=Book.Author, ValidatesOnDataErrors=True}" Width="150"/>
</Intersoft:FieldLabel>

In most scenarios, it is recommended to use MVVM pattern to bind the Text property to a ViewModel class. To learn more about MVVM pattern, see MVVM Pattern Overview.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.TextBox
                  Intersoft.Client.Framework.ISTextBox
                     Intersoft.Client.UI.Controls.UXTextBox
                        Intersoft.Client.UI.Aqua.UXInput.UXMaskedInputBase

Requirements

Target Platforms: 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

UXTextBox Members
Intersoft.Client.UI.Controls Namespace

Send Feedback