skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class TextBox

Inheritance
System.Object
AutomationObject<FrameworkElement>
FrameworkElement
WpfTestElement
Control
TextBoxBase
TextBox
DatePickerTextBox
ExtendedTextBox
PickerTextBox
RadWatermarkTextBox
Inherited Members
TextBoxBase.IsReadOnlyProperty
TextBoxBase.AcceptsReturnProperty
TextBoxBase.AcceptsTabProperty
TextBoxBase.HorizontalScrollBarVisibilityProperty
TextBoxBase.VerticalScrollBarVisibilityProperty
TextBoxBase.IsUndoEnabledProperty
TextBoxBase.UndoLimitProperty
TextBoxBase.AutoWordSelectionProperty
TextBoxBase.IsReadOnly
TextBoxBase.AcceptsReturn
TextBoxBase.AcceptsTab
TextBoxBase.HorizontalScrollBarVisibility
TextBoxBase.VerticalScrollBarVisibility
TextBoxBase.IsUndoEnabled
TextBoxBase.UndoLimit
TextBoxBase.AutoWordSelection
Control.BorderBrushProperty
Control.BorderThicknessProperty
Control.BackgroundProperty
Control.ForegroundProperty
Control.FontSizeProperty
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignmentProperty
Control.TabIndexProperty
Control.IsTabStopProperty
Control.PaddingProperty
Control.FontFamilyProperty
Control.FontStretchProperty
Control.FontStyleProperty
Control.FontWeightProperty
Control.BorderBrush
Control.BorderThickness
Control.Background
Control.Foreground
Control.FontSize
Control.HorizontalContentAlignment
Control.VerticalContentAlignment
Control.TabIndex
Control.IsTabStop
Control.Padding
Control.FontFamily
Control.FontStretch
Control.FontStyle
Control.FontWeight
WpfTestElement.OverridesDefaultStyleProperty
WpfTestElement.BindingGroupProperty
WpfTestElement.InputScopeProperty
WpfTestElement.LayoutTransformProperty
WpfTestElement.FlowDirectionProperty
WpfTestElement.ForceCursorProperty
WpfTestElement.ContextMenuProperty
WpfTestElement.IsMouseDirectlyOverProperty
WpfTestElement.IsMouseOverProperty
WpfTestElement.IsStylusOverProperty
WpfTestElement.IsKeyboardFocusWithinProperty
WpfTestElement.IsMouseCapturedProperty
WpfTestElement.IsMouseCaptureWithinProperty
WpfTestElement.IsStylusDirectlyOverProperty
WpfTestElement.IsStylusCapturedProperty
WpfTestElement.IsStylusCaptureWithinProperty
WpfTestElement.IsKeyboardFocusedProperty
WpfTestElement.AllowDropProperty
WpfTestElement.ClipToBoundsProperty
WpfTestElement.SnapsToDevicePixelsProperty
WpfTestElement.IsFocusedProperty
WpfTestElement.IsEnabledProperty
WpfTestElement.IsVisibleProperty
WpfTestElement.FocusableProperty
WpfTestElement.OverridesDefaultStyle
WpfTestElement.BindingGroup
WpfTestElement.InputScope
WpfTestElement.FlowDirection
WpfTestElement.ForceCursor
WpfTestElement.ContextMenu
WpfTestElement.IsMouseDirectlyOver
WpfTestElement.IsMouseOver
WpfTestElement.IsStylusOver
WpfTestElement.IsKeyboardFocusWithin
WpfTestElement.IsMouseCaptured
WpfTestElement.IsMouseCaptureWithin
WpfTestElement.IsStylusDirectlyOver
WpfTestElement.IsStylusCaptured
WpfTestElement.IsStylusCaptureWithin
WpfTestElement.IsKeyboardFocused
WpfTestElement.AllowDrop
WpfTestElement.ClipToBounds
WpfTestElement.SnapsToDevicePixels
WpfTestElement.IsFocused
WpfTestElement.IsEnabled
WpfTestElement.IsVisible
WpfTestElement.Focusable
WpfTestElement.ComputedVisibility
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualHeightProperty
FrameworkElement.WidthProperty
FrameworkElement.HeightProperty
FrameworkElement.MinWidthProperty
FrameworkElement.MaxWidthProperty
FrameworkElement.MinHeightProperty
FrameworkElement.MaxHeightProperty
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.MarginProperty
FrameworkElement.DesiredSizeProperty
FrameworkElement.RenderSizeProperty
FrameworkElement.NameProperty
FrameworkElement.TagProperty
FrameworkElement.DataContextProperty
FrameworkElement.OpacityProperty
FrameworkElement.ClipProperty
FrameworkElement.RenderTransformProperty
FrameworkElement.OpacityMaskProperty
FrameworkElement.RenderTransformOriginProperty
FrameworkElement.IsHitTestVisibleProperty
FrameworkElement.VisibilityProperty
FrameworkElement.GetIdentifier(String, String)
FrameworkElement.IsChild(FrameworkElement)
FrameworkElement.GetChildTagIndex(FrameworkElement)
FrameworkElement.InitializeMappings(MappingsCollection)
FrameworkElement.As<T>()
FrameworkElement.CastAs<T>()
FrameworkElement.SetProxy(Boolean)
FrameworkElement.SetUid(String)
FrameworkElement.SetFindInfo(VisualFindInfo)
FrameworkElement.SetXamlTag(String)
FrameworkElement.AssignReference(AutomationReference)
FrameworkElement.KeyPress(Keys, Int32, Int32, Int32)
FrameworkElement.GetRectangle()
FrameworkElement.GetRectangle(FrameworkElement)
FrameworkElement.GetIntRectangle()
FrameworkElement.IsHitTest()
FrameworkElement.IsHitTest(Boolean)
FrameworkElement.IsHitTest(FrameworkElement, Boolean)
FrameworkElement.Highlight()
FrameworkElement.Highlight(Boolean)
FrameworkElement.Parent()
FrameworkElement.Parent<T>()
FrameworkElement.Parent(String)
FrameworkElement.Parent(String, Boolean)
FrameworkElement.GetNextSibling()
FrameworkElement.GetPrevSibling()
FrameworkElement.NextSibling(String)
FrameworkElement.NextSibling<T>()
FrameworkElement.PreviousSibling(String)
FrameworkElement.PreviousSibling<T>()
FrameworkElement.AnySibling<T>()
FrameworkElement.AnySibling(String)
FrameworkElement.GetScreenRectangle()
FrameworkElement.ScrollToVisible()
FrameworkElement.ScrollToVisible(ScrollToVisibleType)
FrameworkElement.EnsureClickable()
FrameworkElement.ToXml()
FrameworkElement.Refresh()
FrameworkElement.Equals(Object)
FrameworkElement.GetHashCode()
FrameworkElement.GetProperties()
FrameworkElement.GetAttachedProperty<T>(String, String)
FrameworkElement.SetAttachedProperty<T>(String, String, T)
FrameworkElement.SetFocus()
FrameworkElement.ValidateMouseLocationIfNeeded(Point)
FrameworkElement.GetStringPresentation()
FrameworkElement.ToRealObject()
FrameworkElement.FromRealObject(Object)
FrameworkElement.ValidateType(Type, String)
FrameworkElement.GetKnownControlTypes(TechnologyType)
FrameworkElement.RegisterElement(Type, String)
FrameworkElement.InitKnownWpfControlTypes()
FrameworkElement.InitKnownSilverlightControlTypes()
FrameworkElement.InitKnownXamlControlTypes(Type)
FrameworkElement.GetControlTypeFromInterface(Type)
FrameworkElement.Match(IFindExpression)
FrameworkElement.SetDepth(Int32)
FrameworkElement.AddChildNode(ITargetElement)
FrameworkElement.SetClosingTag(ITargetElement)
FrameworkElement.GetChildren()
FrameworkElement.GetParent()
FrameworkElement.GetHostParent()
FrameworkElement.SetParent(ITargetElement)
FrameworkElement.GetUniqueHashCode()
FrameworkElement.ITargetElement.GetRectangle()
FrameworkElement.ToString()
FrameworkElement.Capture()
FrameworkElement.CaptureImage()
FrameworkElement.GetProperty<T>(String)
FrameworkElement.GetPropertyTypeSafe(String)
FrameworkElement.GetAutomationProperty(String)
FrameworkElement.SetProperty(String, Object)
FrameworkElement.ActualWidth
FrameworkElement.ActualHeight
FrameworkElement.Width
FrameworkElement.Height
FrameworkElement.MinWidth
FrameworkElement.MaxWidth
FrameworkElement.MinHeight
FrameworkElement.MaxHeight
FrameworkElement.HorizontalAlignment
FrameworkElement.VerticalAlignment
FrameworkElement.Margin
FrameworkElement.DesiredSize
FrameworkElement.RenderSize
FrameworkElement.Name
FrameworkElement.Opacity
FrameworkElement.Clip
FrameworkElement.RenderTransform
FrameworkElement.OpacityMask
FrameworkElement.RenderTransformOrigin
FrameworkElement.IsHitTestVisible
FrameworkElement.Visibility
FrameworkElement.Uid
FrameworkElement.Mappings
FrameworkElement.AutomationId
FrameworkElement.XamlTagBase
FrameworkElement.TextBlockContent
FrameworkElement.TextLiteralContent
FrameworkElement.User
FrameworkElement.XamlTag
FrameworkElement.Wait
FrameworkElement.Find
FrameworkElement.Application
FrameworkElement.AbsoluteTagIndex
FrameworkElement.TagNameIndex
FrameworkElement.AbsoluteSiblingTagIndex
FrameworkElement.EnableValidateMouseLocation
FrameworkElement.ToolTipText
FrameworkElement.Children
FrameworkElement.TechnologyType
FrameworkElement.Depth
FrameworkElement.IsTestRegion
FrameworkElement.ParsedElement
FrameworkElement.Host
AutomationObject<FrameworkElement>.GetProperty(AutomationProperty)
AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, Object)
AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, Object)
AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, Object[])
AutomationObject<FrameworkElement>.InvokeMethod(String, Object[])
AutomationObject<FrameworkElement>.Serialize()
AutomationObject<FrameworkElement>.Deserialize(String)
AutomationObject<FrameworkElement>.Reference
AutomationObject<FrameworkElement>.PropertyBag
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Controls.Xaml.Wpf
Assembly: ArtOfTest.WebAii.dll

Syntax

public class TextBox : TextBoxBase, IAutomationPeer, IPeerConverter, IControl, ITextBox, IFrameworkElement, ITargetElement

Constructors

TextBox()

Declaration
public TextBox()

Fields

CharacterCasingProperty

Declaration
public static AutomationProperty CharacterCasingProperty
Field Value
AutomationProperty

MaxLengthProperty

Declaration
public static AutomationProperty MaxLengthProperty
Field Value
AutomationProperty

MaxLinesProperty

Declaration
public static AutomationProperty MaxLinesProperty
Field Value
AutomationProperty

MinLinesProperty

Declaration
public static AutomationProperty MinLinesProperty
Field Value
AutomationProperty

TextAlignmentProperty

Declaration
public static AutomationProperty TextAlignmentProperty
Field Value
AutomationProperty

TextProperty

Declaration
public static AutomationProperty TextProperty
Field Value
AutomationProperty

TextWrappingProperty

Declaration
public static AutomationProperty TextWrappingProperty
Field Value
AutomationProperty

Properties

CharacterCasing

Declaration
public CharacterCasing CharacterCasing { get; set; }
Property Value
CharacterCasing

MaxLength

Declaration
public int MaxLength { get; set; }
Property Value
System.Int32

MaxLines

Declaration
public int MaxLines { get; set; }
Property Value
System.Int32

MinLines

Declaration
public int MinLines { get; set; }
Property Value
System.Int32

Text

Declaration
public string Text { get; set; }
Property Value
System.String

Implements
ITextBox.Text
IFrameworkElement.Text

TextAlignment

Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
TextAlignment

TextWrapping

Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
TextWrapping

Methods

GetRealType()

Declaration
public override string GetRealType()
Returns
System.String

Overrides
TextBoxBase.GetRealType()

SetText(Boolean, String, Int32, Int32, Boolean, Boolean)

Declaration
public void SetText(bool simulateRealUser, string text, int keyPressTime, int keyHoldTime, bool fireKeyEvents, bool clearCurrentText = true)
Parameters
System.Boolean simulateRealUser

System.String text

System.Int32 keyPressTime

System.Int32 keyHoldTime

System.Boolean fireKeyEvents

System.Boolean clearCurrentText

Implements
ITextBox.SetText(Boolean, String, Int32, Int32, Boolean, Boolean)
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.