TextBox
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents a control that can be used to display editable text.
<TextBox .../>
Methods
AddEventListener, CaptureMouse, Equals, FindName (DependencyObject), Focus, GetHost, GetParent, GetValue, ReleaseMouseCapture, RemoveEventListener, Select, SelectAll, SetFontSource, SetValue
Properties
AcceptsReturn, ActualHeight (UIElement), ActualWidth (UIElement), Background (Elements), Canvas.Left, Canvas.Top, Canvas.ZIndex, Clip, Cursor, Effect (Silverlight 3), FontFamily, FontSize, FontStretch, FontStyle, FontWeight, Foreground, Grid.Column, Grid.ColumnSpan, Grid.Row, Grid.RowSpan, Height (UIElement), HorizontalAlignment, IsEnabled, IsReadOnly, IsTabStop, Language (UIElement), Margin, MaxHeight, MaxLength, MaxWidth, MinHeight, MinWidth, Name (DependencyObject), Opacity (UIElement), OpacityMask, Padding, Projection (Silverlight 3), RenderTransform, RenderTransformOrigin, Resources, SelectedText, SelectionBackground, SelectionForeground, SelectionLength, SelectionStart, Style (UIElement), TabIndex, TabNavigation, Tag, Text (TextBox), TextAlignment, TextDecorations, TextOptions.TextHintingMode (Silverlight 3), TextWrapping, Triggers, VerticalAlignment, Visibility, Width (UIElement)
Events
GotFocus, KeyDown, KeyUp, Loaded, LostFocus, MouseEnter, MouseLeave, MouseLeftButtonDown, MouseLeftButtonUp, MouseMove, MouseWheel (Silverlight 3), SelectionChanged, TextChanged
Version Information
Silverlight 2