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
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadTextBoxControlElement

Represents an independent text box element that provides comprehensive text editing capabilities including auto-completion, scrolling, selection management, and input handling. This element serves as the core implementation for text box controls and extends ScrollViewElement<T> with specialized text editing functionality.

Inheritance
System.Object
DisposableObject
RadObject
RadElement
VisualElement
RadComponentElement
RadItem
UIItemBase
LightVisualElement
ScrollViewElement<TextBoxViewElement>
RadTextBoxControlElement
RadAutoCompleteBoxElement
RadPageViewElement.PageViewItemTextEditorElement
Inherited Members
ScrollViewElement<TextBoxViewElement>.CreateScrollBarElement()
ScrollViewElement<TextBoxViewElement>.CreateViewElement()
ScrollViewElement<TextBoxViewElement>.InitializeViewElement(TextBoxViewElement)
ScrollViewElement<TextBoxViewElement>.MeasureView(SizeF)
ScrollViewElement<TextBoxViewElement>.ArrangeHScrollBar(RectangleF, RectangleF)
ScrollViewElement<TextBoxViewElement>.ArrangeVScrollBar(RectangleF, RectangleF, RectangleF)
ScrollViewElement<TextBoxViewElement>.HScrollBar
ScrollViewElement<TextBoxViewElement>.VScrollBar
ScrollViewElement<TextBoxViewElement>.ViewElement
LightVisualElement.BackgroundImageProperty
LightVisualElement.BackgroundImageLayoutProperty
LightVisualElement.BackColor2Property
LightVisualElement.BackColor3Property
LightVisualElement.BackColor4Property
LightVisualElement.BorderBottomColorProperty
LightVisualElement.BorderBottomShadowColorProperty
LightVisualElement.BorderBottomWidthProperty
LightVisualElement.BorderBoxStyleProperty
LightVisualElement.BorderColorProperty
LightVisualElement.BorderColor2Property
LightVisualElement.BorderColor3Property
LightVisualElement.BorderColor4Property
LightVisualElement.BorderDashStyleProperty
LightVisualElement.BorderDashPatternProperty
LightVisualElement.BorderDrawModeProperty
LightVisualElement.BorderGradientAngleProperty
LightVisualElement.BorderGradientStyleProperty
LightVisualElement.BorderInnerColorProperty
LightVisualElement.BorderInnerColor2Property
LightVisualElement.BorderInnerColor3Property
LightVisualElement.BorderInnerColor4Property
LightVisualElement.BorderLeftColorProperty
LightVisualElement.BorderLeftShadowColorProperty
LightVisualElement.BorderLeftWidthProperty
LightVisualElement.BorderRightColorProperty
LightVisualElement.BorderRightShadowColorProperty
LightVisualElement.BorderRightWidthProperty
LightVisualElement.BorderTopColorProperty
LightVisualElement.BorderTopShadowColorProperty
LightVisualElement.BorderTopWidthProperty
LightVisualElement.BorderWidthProperty
LightVisualElement.ClipTextProperty
LightVisualElement.DisabledTextRenderingHintProperty
LightVisualElement.DrawBorderProperty
LightVisualElement.DrawFillProperty
LightVisualElement.DrawTextProperty
LightVisualElement.DrawBackgroundImageProperty
LightVisualElement.DrawImageProperty
LightVisualElement.EnableImageTransparencyProperty
LightVisualElement.GradientAngleProperty
LightVisualElement.GradientPercentageProperty
LightVisualElement.GradientPercentage2Property
LightVisualElement.GradientStyleProperty
LightVisualElement.HorizontalLineColorProperty
LightVisualElement.HorizontalLineWidthProperty
LightVisualElement.ImageAlignmentProperty
LightVisualElement.ImageIndexProperty
LightVisualElement.ImageKeyProperty
LightVisualElement.ImageLayoutProperty
LightVisualElement.ImageOpacityProperty
LightVisualElement.ImageProperty
LightVisualElement.ImageTransparentColorProperty
LightVisualElement.NumberOfColorsProperty
LightVisualElement.ShowHorizontalLineProperty
LightVisualElement.SvgImageProperty
LightVisualElement.TextAlignmentProperty
LightVisualElement.TextImageRelationProperty
LightVisualElement.TextWrapProperty
LightVisualElement.TextRenderingHintProperty
LightVisualElement.GetBorderThickness(LightVisualElement, Boolean)
LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)
LightVisualElement.GetImageDrawTypeLocalValue()
LightVisualElement.MapStyleProperty(RadProperty, String)
LightVisualElement.GetStylablePropertiesFilter()
LightVisualElement.GetPaintingBorderWidth()
LightVisualElement.OnBitStateChanged(Int64, Boolean, Boolean)
LightVisualElement.DisposeManagedResources()
LightVisualElement.GetAsBitmapEx(Color, Single, SizeF)
LightVisualElement.GetClipRect()
LightVisualElement.PaintElement(IGraphics, Single, SizeF)
LightVisualElement.PaintTextCore(IGraphics)
LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)
LightVisualElement.DrawHorizontalLine(IGraphics)
LightVisualElement.PaintImage(IGraphics)
LightVisualElement.PaintSvgImage(IGraphics)
LightVisualElement.PaintBackgroundImage(IGraphics)
LightVisualElement.PaintContent(IGraphics)
LightVisualElement.AnimateImage(Image, Boolean)
LightVisualElement.ClipImage(Image, Rectangle, Size)
LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)
LightVisualElement.MeasureElements(SizeF, SizeF, Padding)
LightVisualElement.ArrangeElement(RadElement, SizeF)
LightVisualElement.GetClientOffset(Boolean)
LightVisualElement.GetBorderThickness(Boolean)
LightVisualElement.GetClientRectangle(Boolean, SizeF)
LightVisualElement.GetClientRectangle(SizeF)
LightVisualElement.GetTextAlignment(ContentAlignment)
LightVisualElement.GetTextAlignment()
LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)
LightVisualElement.OnAnimatedImageFrameChanged()
LightVisualElement.GetFaceRectangle()
LightVisualElement.CreateTextParams()
LightVisualElement.PaintPrimitive(IGraphics, Single, SizeF, TextParams)
LightVisualElement.PaintPrimitive(IGraphics, TextParams)
LightVisualElement.MeasureOverride(SizeF, TextParams)
LightVisualElement.OnMouseMove(Object, MouseEventArgs)
LightVisualElement.GetTextSize(SizeF, TextParams)
LightVisualElement.GetTextSize(TextParams)
LightVisualElement.TextRenderingHint
LightVisualElement.DisabledTextRenderingHint
LightVisualElement.ShouldPaint
LightVisualElement.CanFocus
LightVisualElement.DrawText
LightVisualElement.DrawFill
LightVisualElement.DrawBorder
LightVisualElement.CheckDrawBorderOnMeasure
LightVisualElement.DrawBackgroundImage
LightVisualElement.DrawImage
LightVisualElement.BorderBoxStyle
LightVisualElement.BorderDrawMode
LightVisualElement.BorderWidth
LightVisualElement.BorderLeftWidth
LightVisualElement.BorderTopWidth
LightVisualElement.BorderRightWidth
LightVisualElement.BorderBottomWidth
LightVisualElement.BorderGradientAngle
LightVisualElement.BorderGradientStyle
LightVisualElement.BorderColor
LightVisualElement.BorderColor2
LightVisualElement.BorderColor3
LightVisualElement.BorderColor4
LightVisualElement.BorderInnerColor
LightVisualElement.BorderInnerColor2
LightVisualElement.BorderInnerColor3
LightVisualElement.BorderInnerColor4
LightVisualElement.BackColor2
LightVisualElement.BackColor3
LightVisualElement.BackColor4
LightVisualElement.NumberOfColors
LightVisualElement.GradientStyle
LightVisualElement.GradientAngle
LightVisualElement.GradientPercentage
LightVisualElement.GradientPercentage2
LightVisualElement.BackgroundImage
LightVisualElement.Image
LightVisualElement.ImageIndex
LightVisualElement.ImageKey
LightVisualElement.ImageLayout
LightVisualElement.BackgroundImageLayout
LightVisualElement.ImageOpacity
LightVisualElement.TextAlignment
LightVisualElement.ImageAlignment
LightVisualElement.TextImageRelation
LightVisualElement.ShowHorizontalLine
LightVisualElement.HorizontalLineColor
LightVisualElement.HorizontalLineWidth
LightVisualElement.DisableHTMLRendering
LightVisualElement.TextBlock
LightVisualElement.BorderLeftColor
LightVisualElement.BorderTopColor
LightVisualElement.BorderRightColor
LightVisualElement.BorderBottomColor
LightVisualElement.BorderLeftShadowColor
LightVisualElement.BorderTopShadowColor
LightVisualElement.BorderRightShadowColor
LightVisualElement.BorderBottomShadowColor
LightVisualElement.ClipText
LightVisualElement.Layout
LightVisualElement.ImageTransparentColor
LightVisualElement.BorderDashStyle
LightVisualElement.BorderDashPattern
LightVisualElement.EnableImageTransparency
LightVisualElement.SvgImage
LightVisualElement.SvgImageXml
LightVisualElement.ImageDrawType
LightVisualElement.Shadow
LightVisualElement.AutoEllipsis
LightVisualElement.UseMnemonic
LightVisualElement.TextWrap
LightVisualElement.ShowKeyboardCues
LightVisualElement.MeasureTrailingSpaces
LightVisualElement.TextParams
UIItemBase.PaintFill(IGraphics, Single, SizeF)
UIItemBase.GetFillPaintRect(Single, SizeF)
UIItemBase.PaintFill(IGraphics, Single, SizeF, RectangleF)
UIItemBase.PaintBorder(IGraphics, Single, SizeF)
UIItemBase.PaintBorder(IGraphics, Single, SizeF, RectangleF)
UIItemBase.GetBorderPaintRect(Single, SizeF)
UIItemBase.ShouldUsePaintBuffer()
UIItemBase.IPrimitiveElement.ShouldUsePaintBuffer()
UIItemBase.IPrimitiveElement.GetPaintRectangle(Single, Single, SizeF)
UIItemBase.IPrimitiveElement.GetExactPaintingRectangle(Single, SizeF)
UIItemBase.IShapedElement.GetCurrentShape()
UIItemBase.IPrimitiveElement.IsDesignMode
UIItemBase.IPrimitiveElement.BorderThickness
UIItemBase.IBorderElement.ForeColor
UIItemBase.IBorderElement.ForeColor2
UIItemBase.IBorderElement.ForeColor3
UIItemBase.IBorderElement.ForeColor4
UIItemBase.IBorderElement.InnerColor
UIItemBase.IBorderElement.InnerColor2
UIItemBase.IBorderElement.InnerColor3
UIItemBase.IBorderElement.InnerColor4
UIItemBase.IBorderElement.BoxStyle
UIItemBase.IBorderElement.GradientStyle
UIItemBase.IBorderElement.GradientAngle
UIItemBase.IBoxStyle.LeftColor
UIItemBase.IBoxStyle.LeftShadowColor
UIItemBase.IBoxStyle.TopColor
UIItemBase.IBoxStyle.TopShadowColor
UIItemBase.IBoxStyle.RightColor
UIItemBase.IBoxStyle.RightShadowColor
UIItemBase.IBoxStyle.BottomColor
UIItemBase.IBoxStyle.BottomShadowColor
UIItemBase.IBoxElement.Width
UIItemBase.IBoxElement.LeftWidth
UIItemBase.IBoxElement.TopWidth
UIItemBase.IBoxElement.RightWidth
UIItemBase.IBoxElement.BottomWidth
UIItemBase.IBoxElement.Offset
UIItemBase.IBoxElement.BorderSize
UIItemBase.IBoxElement.HorizontalWidth
UIItemBase.IBoxElement.VerticalWidth
RadItem.KeyDownEvent
RadItem.KeyPressEvent
RadItem.KeyUpEvent
RadItem.FocusCommand
RadItem.ActionCommand
RadItem.RadItemLastStateKey
RadItem.UseDefaultDisabledPaintProperty
RadItem.TextProperty
RadItem.TextOrientationProperty
RadItem.FlipTextProperty
RadItem.StringAlignmentProperty
RadItem.IsAddNewItemProperty
RadItem.ToolTipTextProperty
RadItem.EnableElementShadowProperty
RadItem.ShadowDepthProperty
RadItem.ShadowColorProperty
RadItem.IsPaintingRipple
RadItem.EnableRippleAnimationProperty
RadItem.RippleAnimationColorProperty
RadItem.EnableFocusBorderProperty
RadItem.FocusBorderColorProperty
RadItem.FocusBorderWidthProperty
RadItem.EnableFocusBorderAnimationProperty
RadItem.EnableHighlightProperty
RadItem.HighlightColorProperty
RadItem.EnableBorderHighlightProperty
RadItem.BorderHighlightColorProperty
RadItem.BorderHighlightThicknessProperty
RadItem.VisualStateProperty
RadItem.SetOwnerCollection(RadItemOwnerCollection)
RadItem.Select()
RadItem.OnSelect()
RadItem.Deselect()
RadItem.OnDeselect()
RadItem.DoKeyDown(KeyEventArgs)
RadItem.DoKeyPress(KeyPressEventArgs)
RadItem.DoKeyUp(KeyEventArgs)
RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)
RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)
RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)
RadItem.OnTextChanging(TextChangingEventArgs)
RadItem.OnTextChanged(EventArgs)
RadItem.OnTextOrientationChanged(EventArgs)
RadItem.OnFlipTextChanged(EventArgs)
RadItem.PaintOverride(IGraphics, Rectangle, Single, SizeF, Boolean)
RadItem.StartRippleAnimation(MouseEventArgs)
RadItem.UpdateFocusBorder(Boolean)
RadItem.ContainsText()
RadItem.ProcessDialogKey(Keys)
RadItem.ProcessCmdKey(Message, Keys)
RadItem.ProcessMnemonic(Char)
RadItem.CallRaiseKeyDown(KeyEventArgs)
RadItem.RaiseKeyDown(KeyEventArgs)
RadItem.CallRaiseKeyPress(KeyPressEventArgs)
RadItem.RaiseKeyPress(KeyPressEventArgs)
RadItem.CallRaiseKeyUp(KeyEventArgs)
RadItem.RaiseKeyUp(KeyEventArgs)
RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadItem.CallOnGesture(GestureEventArgs)
RadItem.OnGesture(GestureEventArgs)
RadItem.OnTwoFingerTapGesture(GestureEventArgs)
RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadItem.OnPanGesture(PanGestureEventArgs)
RadItem.OnRotateGesture(RotateGestureEventArgs)
RadItem.OnZoomGesture(ZoomGestureEventArgs)
RadItem.ISupportDrag.CanDrag(Point)
RadItem.CanDragCore(Point)
RadItem.ISupportDrag.GetDataContext()
RadItem.GetDragContextCore()
RadItem.ISupportDrag.GetDragHint()
RadItem.GetDragHintCore()
RadItem.ISupportDrop.DragDrop(Point, ISupportDrag)
RadItem.ProcessDragDrop(Point, ISupportDrag)
RadItem.ISupportDrop.DragOver(Point, ISupportDrag)
RadItem.ProcessDragOver(Point, ISupportDrag)
RadItem.ISupportDrop.DragEnter(Point, ISupportDrag)
RadItem.ProcessDragEnter(Point, ISupportDrag)
RadItem.ISupportDrop.DragLeave(Point, ISupportDrag)
RadItem.ProcessDragLeave(Point, ISupportDrag)
RadItem.IShortcutProvider.OnShortcut(ShortcutEventArgs)
RadItem.IShortcutProvider.OnPartialShortcut(PartialShortcutEventArgs)
RadItem.IShortcutProvider.OnShortcutsChanged()
RadItem.UpdateOnShortcutsChanged()
RadItem.CanHandleShortcut(ShortcutEventArgs)
RadItem.IsOnActiveForm(Control, Boolean)
RadItem.SetThemeValueOverride(RadProperty, Object, String)
RadItem.SetThemeValueOverride(RadProperty, Object, String, String)
RadItem.SetThemeValueOverride(RadProperty, Object, String, Type)
RadItem.ResetThemeValueOverride(RadProperty)
RadItem.ResetThemeValueOverride(RadProperty, String)
RadItem.ResetThemeValueOverrides()
RadItem.SuspendApplyOfThemeSettings()
RadItem.ResumeApplyOfThemeSettings()
RadItem.GetAvailableVisualStates()
RadItem.ShouldFallbackToDefaultTheme()
RadItem.UseDefaultDisabledPaint
RadItem.TextOrientation
RadItem.FlipText
RadItem.CanHaveOwnStyle
RadItem.Selectable
RadItem.DesignTimeAllowDrop
RadItem.DesignTimeAllowDrag
RadItem.DefaultAutoToolTip
RadItem.ShouldHandleMouseInput
RadItem.KeyTip
RadItem.ParentItem
RadItem.CommandBinding
RadItem.ShortcutsHandler
RadItem.EnableElementShadow
RadItem.ShadowDepth
RadItem.ShadowColor
RadItem.EnableRippleAnimation
RadItem.RippleAnimationColor
RadItem.EnableFocusBorder
RadItem.FocusBorderColor
RadItem.FocusBorderWidth
RadItem.EnableFocusBorderAnimation
RadItem.EnableHighlight
RadItem.HighlightColor
RadItem.EnableBorderHighlight
RadItem.BorderHighlightColor
RadItem.BorderHighlightThickness
RadItem.MnemonicText
RadItem.SerializeProperties
RadItem.ToolTipText
RadItem.ThemeRole
RadItem.VisualState
RadItem.StateManager
RadItem.AllowDrag
RadItem.AllowDrop
RadItem.Shortcuts
RadItem.AccessibleDescription
RadItem.AccessibleName
RadItem.AccessibleRole
RadItem.IStylableElement.VisualState
RadItem.IStylableElement.ThemeRole
RadItem.IStylableElement.FallbackToDefaultTheme
RadItem.ContainsMnemonic
RadItem.EnableAnalytics
RadItem.TextChanging
RadItem.TextChanged
RadItem.TextOrientationChanged
RadItem.FlipTextChanged
RadItem.QueryAccessibilityHelp
RadItem.KeyDown
RadItem.KeyPress
RadItem.KeyUp
RadItem.ZoomGesture
RadItem.RotateGesture
RadItem.PanGesture
RadItem.TwoFingerTapGesture
RadItem.PressAndTapGesture
RadComponentElement.ComponentElementLastStateKey
RadComponentElement.ToString()
RadComponentElement.GetService(Type)
RadComponentElement.CanRaiseEvents
RadComponentElement.Container
RadComponentElement.DesignMode
RadComponentElement.IsDesignMode
RadComponentElement.Site
RadComponentElement.DataBindings
VisualElement.DefaultSizeProperty
VisualElement.ForeColorProperty
VisualElement.BackColorProperty
VisualElement.FontProperty
VisualElement.SmoothingModeProperty
VisualElement.OpacityProperty
VisualElement.CustomFontProperty
VisualElement.CustomFontSizeProperty
VisualElement.CustomFontStyleProperty
VisualElement.OnFontChanged(EventArgs)
VisualElement.PaintChildren(IGraphics, Rectangle, Single, SizeF, Boolean)
VisualElement.PrePaintElement(IGraphics)
VisualElement.PostPaintElement(IGraphics)
VisualElement.GetScaledFont(Single)
VisualElement.GetScaledFont(Single, Font)
VisualElement.DefaultSize
VisualElement.ForeColor
VisualElement.BackColor
VisualElement.Font
VisualElement.CustomFont
VisualElement.CustomFontSize
VisualElement.CustomFontStyle
VisualElement.SmoothingMode
VisualElement.Opacity
VisualElement.FontChanged
RadElement.BoundsProperty
RadElement.BorderThicknessProperty
RadElement.PaddingProperty
RadElement.MarginProperty
RadElement.AlignmentProperty
RadElement.AutoSizeModeProperty
RadElement.FitToSizeModeProperty
RadElement.MinSizeProperty
RadElement.EnabledProperty
RadElement.CanFocusProperty
RadElement.IsItemFocusedProperty
RadElement.IsFocusedProperty
RadElement.IsMouseOverProperty
RadElement.IsMouseOverElementProperty
RadElement.IsMouseDownProperty
RadElement.ShouldPaintProperty
RadElement.VisibilityProperty
RadElement.NameProperty
RadElement.ClassProperty
RadElement.ClipDrawingProperty
RadElement.ShapeProperty
RadElement.MouseClickedEvent
RadElement.MouseDoubleClickedEvent
RadElement.MouseDownEvent
RadElement.MouseUpEvent
RadElement.MouseWheelEvent
RadElement.ChildElementAddedEvent
RadElement.ParentChangedEvent
RadElement.BoundsChangedEvent
RadElement.VisibilityChangingEvent
RadElement.EnabledChangedEvent
RadElement.ControlChangedEvent
RadElement.BackgroundShapeProperty
RadElement.BackgroundShapePaintModeProperty
RadElement.ContainsFocusProperty
RadElement.ContainsMouseProperty
RadElement.IsEditedInSpyProperty
RadElement.MaxSizeProperty
RadElement.RightToLeftProperty
RadElement.AutoSizeProperty
RadElement.ZIndexProperty
RadElement.AngleTransformProperty
RadElement.ScaleTransformProperty
RadElement.PositionOffsetProperty
RadElement.TagProperty
RadElement.StretchHorizontallyProperty
RadElement.StretchVerticallyProperty
RadElement.UseCompatibleTextRenderingProperty
RadElement.ClickModeProperty
RadElement.styleVersion
RadElement.paintSystemSkin
RadElement.TraceInvalidation
RadElement.SetPropertyValueCommand
RadElement.GetPropertyValueCommand
RadElement.RadElementLastStateKey
RadElement.StyleProperty
RadElement.CallCreateChildElements()
RadElement.SuspendReferenceUpdate()
RadElement.ResumeReferenceUpdate()
RadElement.OnLoad(Boolean)
RadElement.CallOnLoad(Boolean)
RadElement.LoadCore()
RadElement.OnUnload(ComponentThemableElementTree, Boolean)
RadElement.UnloadCore(ComponentThemableElementTree)
RadElement.OnElementTreeChanged(ComponentThemableElementTree)
RadElement.OnBeginDispose()
RadElement.SetParent(RadElement)
RadElement.OnParentChanged(RadElement)
RadElement.UpdateReferences(ComponentThemableElementTree, Boolean, Boolean)
RadElement.SetIsDesignMode(Boolean, Boolean)
RadElement.ChangeCollection(RadElement, ItemsChangeOperation)
RadElement.ResetLayout(Boolean)
RadElement.HasInvisibleAncestor()
RadElement.ResetLayoutCore()
RadElement.SetAllLocalValuesAsDefault(Boolean)
RadElement.InvalidateArrange()
RadElement.InvalidateArrange(Boolean)
RadElement.InvalidateMeasure()
RadElement.InvalidateMeasure(Boolean)
RadElement.UpdateLayout()
RadElement.SuspendLayout()
RadElement.SuspendLayout(Boolean)
RadElement.ResumeLayout(Boolean)
RadElement.ResumeLayout(Boolean, Boolean)
RadElement.Arrange(RectangleF)
RadElement.Measure(SizeF)
RadElement.SetBounds(Rectangle)
RadElement.SetBounds(Int32, Int32, Int32, Int32)
RadElement.GetBoundingRectangle(Size)
RadElement.GetBoundingRectangle(Rectangle)
RadElement.GetDesiredSize(Boolean)
RadElement.PointToScreen(Point)
RadElement.PointFromScreen(Point)
RadElement.PointToControl(Point)
RadElement.PointFromControl(Point)
RadElement.LocationToControl()
RadElement.RectangleToScreen(Rectangle)
RadElement.HitTest(Point)
RadElement.CallOnRenderSizeChanged(SizeChangedInfo)
RadElement.OnRenderSizeChanged(SizeChangedInfo)
RadElement.OnChildDesiredSizeChanged(RadElement)
RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)
RadElement.ArrangeCore(RectangleF)
RadElement.MeasureCore(SizeF)
RadElement.ShouldArrangeChild(RadElement)
RadElement.ShouldMeasureChild(RadElement)
RadElement.MeasureChildren(SizeF)
RadElement.GetArrangeRect(RectangleF)
RadElement.CanExecuteLayoutOperation()
RadElement.CalcLayoutOffset(PointF)
RadElement.LockBounds()
RadElement.UnlockBounds()
RadElement.SetBoundsCore(Rectangle)
RadElement.IsInValidState(Boolean)
RadElement.GetScrollingOffset()
RadElement.Invalidate()
RadElement.Invalidate(Boolean)
RadElement.GetInvalidateBounds()
RadElement.NotifyInvalidate(RadElement)
RadElement.OnTransformationInvalidated()
RadElement.InvalidateTransformations()
RadElement.PerformLayoutTransformation(RadMatrix)
RadElement.PerformPaintTransformation(RadMatrix)
RadElement.IsInGetAsBitmap()
RadElement.PaintElementSkin(IGraphics)
RadElement.Paint(IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintBackgroundShape(IGraphics)
RadElement.PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
RadElement.PaintChild(RadElement, IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintShadow(RadElement, IGraphics)
RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)
RadElement.GetShadowRect(Rectangle, Int32)
RadElement.PaintFocusCues(IGraphics, Rectangle)
RadElement.GetAsBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Rectangle, Brush, Single, SizeF)
RadElement.GetAsBitmapEx(Brush, Single, SizeF)
RadElement.GetAsBitmap(Brush, Single, SizeF)
RadElement.IsInVisibleClipBounds(Rectangle)
RadElement.SetClipping(Graphics)
RadElement.ShouldPaintChild(RadElement)
RadElement.GetFocusRect()
RadElement.GetCurrentShape()
RadElement.GetPaintRectangle(Single, Single, SizeF)
RadElement.GetPatchedRect(RectangleF, Single, SizeF)
RadElement.GetXPVisualStyle()
RadElement.GetVistaVisualStyle()
RadElement.InitializeSystemSkinPaint()
RadElement.UnitializeSystemSkinPaint()
RadElement.GetSystemSkinPaintBounds()
RadElement.OnUseSystemSkinChanged(EventArgs)
RadElement.ShouldPaintSystemSkin()
RadElement.ComposeShouldPaintSystemSkin()
RadElement.ResetStyleSettings(Boolean)
RadElement.ResetStyleSettings(Boolean, RadProperty)
RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)
RadElement.AddBehavior(PropertyChangeBehavior)
RadElement.GetBehaviors()
RadElement.RemoveBehavior(PropertyChangeBehavior)
RadElement.ClearBehaviors()
RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)
RadElement.SetThemeApplied(Boolean)
RadElement.OnStyleChanged(RadPropertyChangedEventArgs)
RadElement.SuspendThemeRefresh()
RadElement.ResumeThemeRefresh()
RadElement.UnapplyStyle()
RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)
RadElement.RemoveBehaviors(PropertyChangeBehavior)
RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)
RadElement.GetThemeEffectiveType()
RadElement.GetChildrenByType(Type)
RadElement.GetChildrenByBaseType(Type)
RadElement.FindAncestorByThemeEffectiveType(Type)
RadElement.FindAncestor<T>()
RadElement.IsAncestorOf(RadElement)
RadElement.FindDescendant<T>()
RadElement.FindDescendant(Predicate<RadElement>)
RadElement.FindDescendant(Type)
RadElement.EnumDescendants(TreeTraversalMode)
RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.EnumDescendants(Filter, TreeTraversalMode)
RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.GetDescendants(Filter, TreeTraversalMode)
RadElement.GetAncestors(Filter)
RadElement.GetAncestors(Predicate<RadElement>)
RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)
RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)
RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)
RadElement.IsEventInProcess(RaisedRoutedEvent)
RadElement.RegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, String)
RadElement.GetRegisterRoutedEvent(String)
RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)
RadElement.GetChildren(ChildrenListOptions)
RadElement.SendToBack()
RadElement.BringToFront()
RadElement.GetChildAt(Int32)
RadElement.IsChildOf(RadElement)
RadElement.Focus()
RadElement.Focus(Boolean)
RadElement.SetFocusPropertySafe(Boolean)
RadElement.SetElementFocused(Boolean)
RadElement.KillFocus()
RadElement.SetFocus()
RadElement.OnCLREventsRise(RoutedEventArgs)
RadElement.OnMouseHover(EventArgs)
RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)
RadElement.OnLostMouseCapture(MouseEventArgs)
RadElement.OnClick(EventArgs)
RadElement.PerformClick()
RadElement.DoMouseWheel(MouseEventArgs)
RadElement.DoClick(EventArgs)
RadElement.DoDoubleClick(EventArgs)
RadElement.CallDoMouseWheel(MouseEventArgs)
RadElement.MouseEventArgsFromControl(MouseEventArgs)
RadElement.DoMouseDown(MouseEventArgs)
RadElement.DoMouseUp(MouseEventArgs)
RadElement.DoMouseMove(MouseEventArgs)
RadElement.ShowScreenTip(ScreenTipNeededEventArgs)
RadElement.HideScreenTip()
RadElement.DoMouseHover(EventArgs)
RadElement.OnShowScreenTip(ComponentInputBehavior)
RadElement.RaiseClick(EventArgs)
RadElement.RaiseDoubleClick(EventArgs)
RadElement.RaiseMouseWheel(MouseEventArgs)
RadElement.UpdateContainsMouse()
RadElement.UpdateContainsFocus(Boolean)
RadElement.DoMouseEnter(EventArgs)
RadElement.DoMouseLeave(EventArgs)
RadElement.CallDoMouseDown(MouseEventArgs)
RadElement.CallDoMouseUp(MouseEventArgs)
RadElement.CallDoMouseMove(MouseEventArgs)
RadElement.CallDoMouseHover(EventArgs)
RadElement.CallDoMouseEnter(EventArgs)
RadElement.CallDoMouseLeave(EventArgs)
RadElement.CallDoClick(EventArgs)
RadElement.CallDoDoubleClick(EventArgs)
RadElement.GetValue(RadProperty)
RadElement.AddStylePropertySetting(IPropertySetting)
RadElement.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadElement.NotifyChildren(RadPropertyChangedEventArgs)
RadElement.OnLocationChanged(RadPropertyChangedEventArgs)
RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadElement.IsPropertyCancelable(RadPropertyMetadata)
RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)
RadElement.PerformDispose(Boolean)
RadElement.DisposeChildren()
RadElement.ResetUseCompatibleTextRendering()
RadElement.ShouldSerializeUseCompatibleTextRendering()
RadElement.IStylableNode.GetThemeEffectiveType()
RadElement.IStylableNode.ApplySettings(PropertySettingGroup)
RadElement.GetStylableChildrenHierarchy()
RadElement.GetStylableChildren()
RadElement.ResetStyleVersion()
RadElement.GetBorderThickness(BorderPrimitive)
RadElement.ElementState
RadElement.LayoutManager
RadElement.DesiredSize
RadElement.IsLayoutSuspended
RadElement.BoundingRectangle
RadElement.ControlBoundingRectangle
RadElement.BypassLayoutPolicies
RadElement.IsArrangeValid
RadElement.IsMeasureValid
RadElement.PreviousArrangeRect
RadElement.PreviousConstraint
RadElement.TreeLevel
RadElement.Transform
RadElement.TotalTransform
RadElement.ShouldPaintUsingParentShape
RadElement.UseSystemSkin
RadElement.VsbVisible
RadElement.PropagateStyleToChildren
RadElement.ThemeEffectiveType
RadElement.ElementTree
RadElement.Children
RadElement.ChildrenHierarchy
RadElement.Parent
RadElement.RoutedEventBehaviors
RadElement.LayoutableChildrenCount
RadElement.ContainsFocus
RadElement.NotifyParentOnMouseInput
RadElement.IsAbleToRespondToMouseEvents
RadElement.AutoSize
RadElement.Bounds
RadElement.Location
RadElement.Size
RadElement.BorderThickness
RadElement.Padding
RadElement.Margin
RadElement.Alignment
RadElement.AutoSizeMode
RadElement.FitToSizeMode
RadElement.Enabled
RadElement.IsFocused
RadElement.IsMouseOver
RadElement.IsMouseOverElement
RadElement.IsMouseDown
RadElement.InvalidateChildrenOnChildChanged
RadElement.Visibility
RadElement.IsElementVisible
RadElement.Name
RadElement.Class
RadElement.ClipDrawing
RadElement.Shape
RadElement.MinSize
RadElement.MaxSize
RadElement.ZIndex
RadElement.RightToLeft
RadElement.UseCompatibleTextRendering
RadElement.BackgroundShape
RadElement.BackgroundShapePaintMode
RadElement.ContainsMouse
RadElement.Capture
RadElement.ScaleTransform
RadElement.AngleTransform
RadElement.PositionOffset
RadElement.SerializeElement
RadElement.SerializeChildren
RadElement.RenderingMaxFramerate
RadElement.IsThemeApplied
RadElement.ShouldApplyTheme
RadElement.UseCenteredAngleTransform
RadElement.Tag
RadElement.StretchHorizontally
RadElement.StretchVertically
RadElement.ClickMode
RadElement.DoubleClickEnabled
RadElement.CaptureOnMouseDown
RadElement.IsFocusable
RadElement.IsItemHovered
RadElement.IStylableNode.Parent
RadElement.IStylableNode.ChildrenHierarchy
RadElement.IStylableNode.Children
RadElement.IStylableNode.Class
RadElement.Style
RadElement.AutoToolTip
RadElement.ScreenTip
RadElement.AutoNumberKeyTip
RadElement.MeasureIsDirty
RadElement.ArrangeIsDirty
RadElement.NeverMeasured
RadElement.NeverArranged
RadElement.ArrangeInProgress
RadElement.MeasureInProgress
RadElement.ShouldPaintChildren
RadElement.InvalidateMeasureOnRemove
RadElement.HideFromElementHierarchyEditor
RadElement.DpiScaleFactor
RadElement.LayoutUpdated
RadElement.ElementPainted
RadElement.MouseHover
RadElement.MouseMove
RadElement.MouseDown
RadElement.MouseUp
RadElement.Click
RadElement.DoubleClick
RadElement.MouseEnter
RadElement.MouseWheel
RadElement.EnabledChanged
RadElement.MouseLeave
RadElement.ChildrenChanged
RadElement.LostMouseCapture
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetLocalValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.PropertyValues
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadTextBoxControlElement : ScrollViewElement<TextBoxViewElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Constructors

RadTextBoxControlElement()

Initializes a new instance of the RadTextBoxControlElement class.

Declaration
public RadTextBoxControlElement()

Properties

AcceptsReturn

Gets or sets a value indicating whether pressing ENTER in a multiline TextBox element creates a new line of text in the element or activates the default button for the form.

Declaration
public bool AcceptsReturn { get; set; }
Property Value
System.Boolean

true if ENTER key creates a new line; otherwise, false to activate the default button.

AcceptsTab

Gets or sets a value indicating whether pressing the TAB key in a multiline text box element types a TAB character in the element instead of moving the focus to the next element in the tab order.

Declaration
public bool AcceptsTab { get; set; }
Property Value
System.Boolean

true if TAB key inserts a tab character; otherwise, false to move focus to next control.

AutoCompleteDataSource

Gets or sets a value specifying the source of complete items used for automatic completion.

Declaration
public object AutoCompleteDataSource { get; set; }
Property Value
System.Object

The data source providing auto-completion suggestions, or null if using the AutoCompleteItems collection.

AutoCompleteDisplayMember

Gets or sets the auto complete display member.

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

The property name used to display text for auto-completion items.

AutoCompleteDropDown

Gets the auto complete drop down.

Declaration
public RadPopupControlBase AutoCompleteDropDown { get; }
Property Value
RadPopupControlBase

The popup control that hosts the auto-completion dropdown list.

AutoCompleteItems

Gets a value specifying the complete items used for automatic completion.

Declaration
public RadListDataItemCollection AutoCompleteItems { get; }
Property Value
RadListDataItemCollection

The collection of items used for auto-completion when no data source is specified.

AutoCompleteMode

Gets or sets an option that controls how automatic completion works for the TextBox.

Declaration
public AutoCompleteMode AutoCompleteMode { get; set; }
Property Value
System.Windows.Forms.AutoCompleteMode

The auto-completion mode that determines how suggestions are presented to the user.

CanPerformAutoComplete

Gets a value indicating whether this text box can perform auto complete operation.

Declaration
protected virtual bool CanPerformAutoComplete { get; }
Property Value
System.Boolean

true if auto-completion is enabled and the text box is single-line; otherwise, false.

Caret

Gets the associated caret.

Declaration
public TextBoxControlCaret Caret { get; }
Property Value
TextBoxControlCaret

The text cursor element that indicates the insertion point.

CaretIndex

Gets or sets the caret position.

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

The zero-based index of the caret position within the text.

CharacterCasing

Gets or sets whether the TextBox element modifies the case of characters as they are typed.

Declaration
public CharacterCasing CharacterCasing { get; set; }
Property Value
System.Windows.Forms.CharacterCasing

The character casing mode applied to typed text.

ClearButton

Gets the clear button.

Declaration
public LightVisualButtonElement ClearButton { get; }
Property Value
LightVisualButtonElement

The button element that allows users to quickly clear all text.

ContextMenu

Gets or sets the associated context menu.

Declaration
public RadContextMenu ContextMenu { get; set; }
Property Value
RadContextMenu

The context menu displayed on right-click, or null if no context menu is assigned.

DropDownMaxSize

Gets or sets the maximum size of the auto-complete dropdown.

Declaration
public Size DropDownMaxSize { get; set; }
Property Value
System.Drawing.Size

The maximum size constraints for the dropdown, or System.Drawing.Size.Empty for no maximum size limit.

DropDownMinSize

Gets or sets the minimum size of the auto-complete dropdown.

Declaration
public Size DropDownMinSize { get; set; }
Property Value
System.Drawing.Size

The minimum size constraints for the dropdown, or System.Drawing.Size.Empty for no minimum size limit.

EmbeddedLabel

Gets an instance of the corresponding embedded label.

Declaration
public LightVisualElement EmbeddedLabel { get; }
Property Value
LightVisualElement

The embedded label element displayed within the text box.

EmbeddedLabelAnimationSpeed

Gets or set the animation speed of the embedded label. The speed is an integer between 1(off) and 10(slowest) with default value of 8.

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

The animation speed from 1 (disabled) to 10 (slowest), with 8 as the default.

EmbeddedLabelBorderOffset

Gets or set the offset of the embedded label from the bottom border, when the label is down.

Declaration
public float EmbeddedLabelBorderOffset { get; set; }
Property Value
System.Single

The offset distance in pixels from the bottom border when the label is in its lowered position.

EmbeddedLabelText

Gets or sets the text of the embedded label.

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

The text content displayed in the embedded label.

HideSelection

Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the element loses focus.

Declaration
public bool HideSelection { get; set; }
Property Value
System.Boolean

true if selection should be hidden when unfocused; otherwise, false to keep selection visible.

HorizontalScrollBarState

Gets or sets when the horizontal scroll bar should appear in a multiline TextBox element.

Declaration
public ScrollState HorizontalScrollBarState { get; set; }
Property Value
ScrollState

The visibility state of the horizontal scroll bar.

InputHandler

Represents the associated keyboard and mouse input handler.

Declaration
public ITextBoxInputHandler InputHandler { get; set; }
Property Value
ITextBoxInputHandler

The input handler responsible for processing user interactions.

IsAutoCompleteDropDownOpen

Gets a value indicating whether this auto-complete drop down is open.

Declaration
public bool IsAutoCompleteDropDownOpen { get; }
Property Value
System.Boolean

true if the auto-complete dropdown is currently displayed; otherwise, false.

IsReadOnly

Gets or sets a value indicating whether text in the text box is read-only.

Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean

true if the text box is read-only and cannot be edited; otherwise, false.

IsReadOnlyCaretVisible

Gets or sets a value indicating whether the caret is visible in read only mode.

Declaration
public bool IsReadOnlyCaretVisible { get; set; }
Property Value
System.Boolean

true if the caret should be visible even when read-only; otherwise, false.

Lines

Gets or sets the lines of text in a text box element.

Declaration
public string[] Lines { get; set; }
Property Value
System.String[]

An array of strings representing each line of text in the text box.

ListElement

Gets the auto-complete list element.

Declaration
public RadTextBoxListElement ListElement { get; }
Property Value
RadTextBoxListElement

The list element that displays auto-completion suggestions.

MaxDropDownItemCount

Gets or sets the max count of visible items in auto-complete drop down.

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

The maximum number of items displayed simultaneously in the dropdown before scrolling is required.

MaxLength

Gets or sets the maximum number of characters the user can type or paste into the text box element.

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

The maximum number of characters allowed, or System.Int32.MaxValue for unlimited input.

Multiline

Gets or sets a value indicating whether this is a multiline text box.

Declaration
public bool Multiline { get; set; }
Property Value
System.Boolean

true if the text box accepts multiple lines of text; otherwise, false for single-line input.

Navigator

Gets or sets the navigator of the text position.

Declaration
public ITextBoxNavigator Navigator { get; set; }
Property Value
ITextBoxNavigator

The navigator responsible for text positioning and selection management.

NullText

Gets or sets the prompt text that is displayed when the text box contains no text.

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

The text to display when the text box is empty.

NullTextColor

Gets or sets the color of the null text.

Declaration
public Color NullTextColor { get; set; }
Property Value
System.Drawing.Color

The color used to display the null text.

NullTextViewElement

Gets the view element of the null text.

Declaration
public TextBoxWrapPanel NullTextViewElement { get; }
Property Value
TextBoxWrapPanel

The panel element that displays placeholder text when the text box is empty.

PasswordChar

Gets or sets the character used to mask characters of a password in a single-line text box.

Declaration
public virtual char PasswordChar { get; set; }
Property Value
System.Char

The character used to mask password input, or '\0' to display actual characters.

RepositionEmbeddedLabel

Gets or set whether to reposition the embedded label, when text box is empty.

Declaration
public bool RepositionEmbeddedLabel { get; set; }
Property Value
System.Boolean

true if the embedded label should move when the text box becomes empty; otherwise, false.

SelectedText

Gets or sets a value indicating the currently selected text in the element.

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

The text currently selected by the user, or an empty string if no text is selected.

SelectionColor

Gets or sets the color of the selection.

Declaration
public Color SelectionColor { get; set; }
Property Value
System.Drawing.Color

The background color used to highlight selected text.

SelectionLength

Gets or sets the number of characters selected in the text box.

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

The number of characters selected, or 0 if no text is selected.

SelectionOpacity

Gets or sets the selection opacity.

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

The opacity level of the selection highlight (0-255).

SelectionStart

Gets or sets the starting point of text selected in the text box.

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

The zero-based index of the first character in the current text selection.

ShowClearButton

Gets or sets a value indicating whether the clear button is shown.

Declaration
public bool ShowClearButton { get; set; }
Property Value
System.Boolean

true if the clear button should be displayed; otherwise, false.

ShowEmbeddedLabel

Gets or sets the visibility of the embedded label. It is recommended to set AutoSize to true, when using the embedded label.

Declaration
public bool ShowEmbeddedLabel { get; set; }
Property Value
System.Boolean

true if the embedded label should be visible; otherwise, false.

ShowNullText

Gets or sets a value indicating whether the null text will be shown when the control is focused and the text is empty.

Declaration
public bool ShowNullText { get; set; }
Property Value
System.Boolean

true if null text should be displayed when focused and empty; otherwise, false.

Text

Gets or sets the current text in the text box element.

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

Overrides
RadItem.Text

TextAlign

Gets or sets how the text is horizontally aligned in the element.

Declaration
public HorizontalAlignment TextAlign { get; set; }
Property Value
System.Windows.Forms.HorizontalAlignment

The horizontal alignment of text within the text box.

TextLength

Gets the length of text in the element.

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

The total number of characters in the text box.

UseSystemPasswordChar

Gets or sets a value indicating whether the text in view should appear as the default password character.

Declaration
public virtual bool UseSystemPasswordChar { get; set; }
Property Value
System.Boolean

true to use the system password character; otherwise, false to display actual characters.

VerticalScrollBarState

Gets or sets when the vertical scroll bar should appear in a multiline TextBox element.

Declaration
public ScrollState VerticalScrollBarState { get; set; }
Property Value
ScrollState

The visibility state of the vertical scroll bar.

WordWrap

Gets or sets a value indicating whether text wraps to the next line when it reaches the edge of the element.

Declaration
public bool WordWrap { get; set; }
Property Value
System.Boolean

true if text should wrap at the element boundary; otherwise, false.

Methods

AppendText(String)

Appends text to the current text of a text box.

Declaration
public void AppendText(string text)
Parameters
System.String text

The text to append.

AppendText(String, Boolean)

Appends text to the current text of a text box and optionally selects it.

Declaration
public void AppendText(string text, bool select)
Parameters
System.String text

The text to append.

System.Boolean select

If set to true, selects the appended text.

ArrangeOverride(SizeF)

Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF finalSize

Returns
System.Drawing.SizeF

Overrides
Telerik.WinControls.UI.ScrollViewElement<Telerik.WinControls.UI.TextBoxViewElement>.ArrangeOverride(System.Drawing.SizeF)

ArrangeViewElement(RectangleF)

Declaration
protected override void ArrangeViewElement(RectangleF viewElementRect)
Parameters
System.Drawing.RectangleF viewElementRect

Overrides
Telerik.WinControls.UI.ScrollViewElement<Telerik.WinControls.UI.TextBoxViewElement>.ArrangeViewElement(System.Drawing.RectangleF)

CanInsertText(String)

Determines whether the text can be inserted

Declaration
protected virtual bool CanInsertText(string text)
Parameters
System.String text

The text.

Returns
System.Boolean

true if this text can be inserted; otherwise, false.

ClampOffset(Int32)

Clamps the offset to valid text position bounds.

Declaration
protected int ClampOffset(int offset)
Parameters
System.Int32 offset

The offset to validate and clamp.

Returns
System.Int32

A valid offset within the bounds of the text length.

Clear()

Clears all text from the text box element.

Declaration
public void Clear()

CloseDropDown()

Closes the auto-complete drop down.

Declaration
public void CloseDropDown()

CloseDropDown(RadPopupCloseReason)

Closes the drop down.

Declaration
public virtual void CloseDropDown(RadPopupCloseReason reason)
Parameters
RadPopupCloseReason reason

The reason for closing the dropdown.

Copy()

Copies the current selection in the text box to the Clipboard.

Declaration
public virtual bool Copy()
Returns
System.Boolean

true if text was copied to the clipboard; otherwise, false.

CreateAutoCompleteDropDown()

Creates the auto-complete drop down.

Declaration
protected virtual RadPopupControlBase CreateAutoCompleteDropDown()
Returns
RadPopupControlBase

A new instance of RadPopupControlBase for hosting the auto-completion dropdown.

CreateCaret()

Creates the caret of the text box element.

Declaration
protected virtual TextBoxControlCaret CreateCaret()
Returns
TextBoxControlCaret

A new instance of TextBoxControlCaret for text position indication.

CreateChildElements()

Creates the child elements that comprise the text box control, including the view element, scrollbars, caret, and supporting components.

Declaration
protected override void CreateChildElements()
Overrides
Telerik.WinControls.UI.ScrollViewElement<Telerik.WinControls.UI.TextBoxViewElement>.CreateChildElements()

CreateClearButton()

Creates the clear button element that allows users to quickly clear all text from the text box.

Declaration
protected virtual LightVisualButtonElement CreateClearButton()
Returns
LightVisualButtonElement

A new LightVisualButtonElement configured as a clear button.

CreateEmbeddedLabel()

Creates the embedded label element that can be displayed within the text box control.

Declaration
protected virtual LightVisualElement CreateEmbeddedLabel()
Returns
LightVisualElement

A new LightVisualElement configured as an embedded label.

CreateListElement()

Creates the auto-complete list element.

Declaration
protected virtual RadTextBoxListElement CreateListElement()
Returns
RadTextBoxListElement

A new instance of RadTextBoxListElement for displaying auto-completion suggestions.

CreateNullTextViewElement()

Creates an instance of TextBoxWrapPanel used to display placeholder text when the text box is empty.

Declaration
protected virtual TextBoxWrapPanel CreateNullTextViewElement()
Returns
TextBoxWrapPanel

A new TextBoxWrapPanel instance configured for null text display.

Cut()

Moves the current selection in the text box to the Clipboard.

Declaration
public virtual bool Cut()
Returns
System.Boolean

true if the operation was successful; otherwise, false.

Delete()

Deletes the selected text or character at the current position.

Declaration
public bool Delete()
Returns
System.Boolean

true if text was successfully deleted; otherwise, false.

Delete(Boolean)

Deletes the selected text or character at the current position.

Declaration
public virtual bool Delete(bool nextCharacter)
Parameters
System.Boolean nextCharacter

If set to true, deletes the next character; otherwise, deletes the previous character.

Returns
System.Boolean

true if text was successfully deleted; otherwise, false.

Delete(Boolean, Boolean)

Deletes the selected text or character at the current position.

Declaration
public virtual bool Delete(bool nextCharacter, bool isControlPressed)
Parameters
System.Boolean nextCharacter

If set to true, deletes the next character; otherwise, deletes the previous character.

System.Boolean isControlPressed

If set to true and Control modifier key is pressed, deletes to the end of the word.

Returns
System.Boolean

true if text was successfully deleted; otherwise, false.

DeselectAll()

Specifies that the value of the SelectionLength property is zero so that no characters are selected in the element.

Declaration
public virtual bool DeselectAll()
Returns
System.Boolean

true if the selection was successfully cleared; otherwise, false.

DisposeUnmanagedResources()

Disposes of unmanaged resources used by the text box control element.

Declaration
protected override void DisposeUnmanagedResources()
Overrides
DisposableObject.DisposeUnmanagedResources()

DpiScaleChanged(SizeF)

Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.Drawing.SizeF scaleFactor

Overrides
RadElement.DpiScaleChanged(SizeF)

GetAutoCompleteDropDownLocation()

Gets the auto-complete drop down location.

Declaration
protected virtual Point GetAutoCompleteDropDownLocation()
Returns
System.Drawing.Point

The screen coordinates where the auto-complete dropdown should be positioned.

GetAutoCompleteTextCondition(TextPosition, TextPosition)

Gets the text that is used as filter condition in auto-completion.

Declaration
protected virtual string GetAutoCompleteTextCondition(TextPosition startPosition, TextPosition endPosition)
Parameters
TextPosition startPosition

The start position of the text range.

TextPosition endPosition

The end position of the text range.

Returns
System.String

The text that will be used to filter auto-completion suggestions.

GetDropDownSize()

Gets the size of the auto-complete drop down.

Declaration
protected virtual Size GetDropDownSize()
Returns
System.Drawing.Size

The calculated size for the auto-complete dropdown based on item count and constraints.

GetFirstAutoCompletePosition()

Gets the first position for auto-completion text within the view element.

Declaration
protected virtual TextPosition GetFirstAutoCompletePosition()
Returns
TextPosition

The text position representing the start of auto-completion.

GetLastAutoCompletePosition()

Gets the last position for auto-completion text within the view element.

Declaration
protected virtual TextPosition GetLastAutoCompletePosition()
Returns
TextPosition

The text position representing the end of auto-completion.

GetLines()

Gets the lines of the text box element.

Declaration
protected virtual string[] GetLines()
Returns
System.String[]

An array of strings representing each line in the text box.

HandleSuggestedTextChanged(SuggestedTextChangedEventArgs)

Handles processing of suggested text changes for auto-completion functionality.

Declaration
protected virtual void HandleSuggestedTextChanged(SuggestedTextChangedEventArgs e)
Parameters
SuggestedTextChangedEventArgs e

The suggested text changed event arguments.

InitializeFields()

Initializes the default field values for the text box control element.

Declaration
protected override void InitializeFields()
Overrides
Telerik.WinControls.UI.ScrollViewElement<Telerik.WinControls.UI.TextBoxViewElement>.InitializeFields()

Insert(String)

Inserts the text at current position.

Declaration
public virtual bool Insert(string text)
Parameters
System.String text

The text to insert.

Returns
System.Boolean

true if the text was successfully inserted; otherwise, false.

IsInputKey(InputKeyEventArgs)

Determines whether the specified key is an input key that should be processed by the text box.

Declaration
protected override bool IsInputKey(InputKeyEventArgs e)
Parameters
InputKeyEventArgs e

The input key event arguments containing key information.

Returns
System.Boolean

true if the key should be processed as input; otherwise, false.

Overrides
RadElement.IsInputKey(InputKeyEventArgs)

IsValidAutoCompletePosition()

Determines whether the current position is valid for the auto-complete operation

Declaration
protected virtual bool IsValidAutoCompletePosition()
Returns
System.Boolean

true if [is valid auto complete position]; otherwise, false.

MeasureOverride(SizeF)

Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF availableSize

Returns
System.Drawing.SizeF

Overrides
Telerik.WinControls.UI.ScrollViewElement<Telerik.WinControls.UI.TextBoxViewElement>.MeasureOverride(System.Drawing.SizeF)

MeasureViewElement(SizeF)

Declaration
protected override void MeasureViewElement(SizeF availableSize)
Parameters
System.Drawing.SizeF availableSize

Overrides
Telerik.WinControls.UI.ScrollViewElement<Telerik.WinControls.UI.TextBoxViewElement>.MeasureViewElement(System.Drawing.SizeF)

OnAutoCompleteDropDownClosed(RadAutoCompleteDropDownClosedEventArgs)

Called when the auto-complete dropdown is closed.

Declaration
protected virtual void OnAutoCompleteDropDownClosed(RadAutoCompleteDropDownClosedEventArgs e)
Parameters
RadAutoCompleteDropDownClosedEventArgs e

The auto-complete dropdown closed event arguments.

OnBoundsChanged(RadPropertyChangedEventArgs)

Called when the bounds of the element have changed.

Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

The event arguments containing bound change information.

Overrides
UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

OnContextMenuOpening(RadContextMenu)

Called when the context menu is opening.

Declaration
protected bool OnContextMenuOpening(RadContextMenu menu)
Parameters
RadContextMenu menu

The context menu being opened.

Returns
System.Boolean

true if the menu should be displayed; otherwise, false to cancel the operation.

OnContextMenuOpening(TreeBoxContextMenuOpeningEventArgs)

Raises the ContextMenuOpening event.

Declaration
protected virtual void OnContextMenuOpening(TreeBoxContextMenuOpeningEventArgs e)
Parameters
TreeBoxContextMenuOpeningEventArgs e

The TreeBoxContextMenuOpeningEventArgs instance containing the event data.

OnContextMenuOpenting(RadContextMenu)

Obsolete. The name of the method has a typo. Use the OnContextMenuOpening(RadContextMenu menu) method instead.

Declaration
[Obsolete("Obsolete. The name of the method has a typo. Use the OnContextMenuOpening(RadContextMenu menu) method instead.")]
protected bool OnContextMenuOpenting(RadContextMenu menu)
Parameters
RadContextMenu menu

The context menu being opened.

Returns
System.Boolean

true if the menu should be displayed; otherwise, false to cancel the operation.

OnContextMenuOpenting(TreeBoxContextMenuOpeningEventArgs)

Obsolete.The name of the method has a typo. Use the OnContextMenuOpening(TreeBoxContextMenuOpeningEventArgs e) method instead.

Declaration
[Obsolete("Obsolete.The name of the method has a typo. Use the OnContextMenuOpening(TreeBoxContextMenuOpeningEventArgs e) method instead.")]
protected virtual void OnContextMenuOpenting(TreeBoxContextMenuOpeningEventArgs e)
Parameters
TreeBoxContextMenuOpeningEventArgs e

The event arguments containing context menu data.

OnDoubleClick(EventArgs)

Called when the element is double-clicked.

Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.EventArgs e

The event arguments.

Overrides
RadElement.OnDoubleClick(EventArgs)

OnIMECompositionEnded()

Raises the IMECompositionEnded event when Input Method Editor composition completes.

Declaration
protected virtual void OnIMECompositionEnded()

OnIMECompositionResult(String)

Raises the IMECompositionResult event when Input Method Editor produces a result.

Declaration
protected virtual void OnIMECompositionResult(string result)
Parameters
System.String result

The composition result text.

OnIMECompositionStarted()

Raises the IMECompositionStarted event when Input Method Editor composition begins.

Declaration
protected virtual void OnIMECompositionStarted()

OnKeyDown(KeyEventArgs)

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs e

Overrides
RadItem.OnKeyDown(KeyEventArgs)

OnKeyPress(KeyPressEventArgs)

Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs e

Overrides
RadItem.OnKeyPress(KeyPressEventArgs)

OnKeyUp(KeyEventArgs)

Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs e

Overrides
RadItem.OnKeyUp(KeyEventArgs)

OnLoaded()

Called when the element has been loaded and is ready for interaction.

Declaration
protected override void OnLoaded()
Overrides
LightVisualElement.OnLoaded()

OnMouseDown(MouseEventArgs)

Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadItem.OnMouseDown(MouseEventArgs)

OnMouseEnter(EventArgs)

Called when the mouse enters the element bounds.

Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs e

The event arguments.

Overrides
RadElement.OnMouseEnter(EventArgs)

OnMouseLeave(EventArgs)

Called when the mouse leaves the element bounds.

Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs e

The event arguments.

Overrides
RadItem.OnMouseLeave(EventArgs)

OnMouseMove(MouseEventArgs)

Called when the mouse moves over the element.

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The mouse event arguments.

Overrides
LightVisualElement.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Called when a mouse button is released over the element.

Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The mouse event arguments.

Overrides
RadItem.OnMouseUp(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Called when the mouse wheel is scrolled over the element.

Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The mouse event arguments.

Overrides
RadElement.OnMouseWheel(MouseEventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

Called when a property of the element has changed.

Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

The property changed event arguments.

Overrides
LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnUnloaded(ComponentThemableElementTree)

Called when the element is being unloaded from the visual tree.

Declaration
protected override void OnUnloaded(ComponentThemableElementTree oldTree)
Parameters
ComponentThemableElementTree oldTree

The component tree from which the element is being removed.

Overrides
RadElement.OnUnloaded(ComponentThemableElementTree)

PaintText(IGraphics)

Overrides the text painting to prevent default text rendering since text is handled by the view element.

Declaration
protected override void PaintText(IGraphics graphics)
Parameters
IGraphics graphics

The graphics context for painting.

Overrides
LightVisualElement.PaintText(IGraphics)

Paste()

Replaces the current selection in the text box with the contents of the Clipboard.

Declaration
public virtual bool Paste()
Returns
System.Boolean

true if text was pasted from the clipboard; otherwise, false.

PerformAutoComplete(EditOperation)

Performs the auto-complete for concrete operation.

Declaration
protected void PerformAutoComplete(EditOperation context)
Parameters
EditOperation context

The context.

PerformAutoCompleteOverride(EditOperation)

Performs the auto complete override.

Declaration
protected virtual void PerformAutoCompleteOverride(EditOperation context)
Parameters
EditOperation context

The context.

Redo()

Redo the last undo action.

Declaration
public virtual bool Redo()
Returns
System.Boolean

true if an action was successfully redone; otherwise, false.

ScrollToCaret()

Scrolls the contents of the control to the current caret position.

Declaration
public void ScrollToCaret()

Select(Int32, Int32)

Selects a range of text in the text box.

Declaration
public void Select(int start, int length)
Parameters
System.Int32 start

The zero-based starting position of the text selection.

System.Int32 length

The number of characters to select.

SelectAll()

Selects all text in the text box element.

Declaration
public void SelectAll()

SetLines(String[])

Sets the lines of the text box element.

Declaration
protected virtual void SetLines(string[] value)
Parameters
System.String[] value

The array of strings to set as text lines.

ShowDropDown(Point)

Shows the drop down.

Declaration
public virtual void ShowDropDown(Point location)
Parameters
System.Drawing.Point location

The screen location where the dropdown should appear.

ToggleTextPrimitive(RadProperty)

Toggles the text primitive display (overridden to prevent default text rendering).

Declaration
protected override void ToggleTextPrimitive(RadProperty property)
Parameters
RadProperty property

The property being toggled.

Overrides
LightVisualElement.ToggleTextPrimitive(RadProperty)

Undo()

Undo the last action.

Declaration
public virtual bool Undo()
Returns
System.Boolean

true if an action was successfully undone; otherwise, false.

Events

ContextMenuOpening

Occurs when the context menu is opening.

Declaration
public event TreeBoxContextMenuOpeningEventHandler ContextMenuOpening
Event Type
TreeBoxContextMenuOpeningEventHandler

CreateTextBlock

Occurs when an instance of ITextBlock is created.

Declaration
public event CreateTextBlockEventHandler CreateTextBlock
Event Type
CreateTextBlockEventHandler

IMECompositionEnded

Fired when the Input Method Editor completes the composition.

Declaration
public event EventHandler IMECompositionEnded
Event Type
System.EventHandler

IMECompositionResult

Fired when the Input Method Editor has a result ready. For languages like Korean this might happen before the composition has ended.

Declaration
public event EventHandler<IMECompositionResultEventArgs> IMECompositionResult
Event Type
System.EventHandler<IMECompositionResultEventArgs>

IMECompositionStarted

Fired when the Input Method Editor starts the composition.

Declaration
public event EventHandler IMECompositionStarted
Event Type
System.EventHandler

SelectionChanged

Occurs when text selection is changed.

Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
SelectionChangedEventHandler

SelectionChanging

Occurs when text selection is changing.

Declaration
public event SelectionChangingEventHandler SelectionChanging
Event Type
SelectionChangingEventHandler

TextBlockFormatting

Occurs when text block is formatting.

Declaration
public event TextBlockFormattingEventHandler TextBlockFormatting
Event Type
TextBlockFormattingEventHandler

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
SerializationExtensions.DeserializePrimitives(RadItem, SerializationInfo)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing 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.