4.892 TextBox

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > TextBoxBase > TextBox, IInputElement
TextBox
DatePickerTextBox RibbonTextBox
(usage)
<TextBox> x:String </TextBox>
(description)
Represents a control that can be used to display or edit unformatted text.
[content property]
Text
[name property]
Name
[xml lang property]
Language
(properties)
CaretIndex
x:Int32
(description)
The insertion position index of the caret.
CharacterCasing
CharacterCasing
(description)
How characters are cased when they are manually entered into the text box.
MaxLength
x:Int32
(description)
The maximum number of characters that can be manually entered into the text box.
MaxLines
x:Int32
(description)
The maximum number of visible lines.
MinLines
x:Int32
(description)
The minimum number of visible lines.
SelectedText
x:String
(description)
The content of the current selection in the text box.
SelectionLength
x:Int32
(description)
A value indicating the number of characters in the current selection in the text box.
SelectionStart
x:Int32
(description)
A character index for the beginning of the current selection.
Text
x:String
(description)
The text contents of the text box.
TextAlignment
TextAlignment
(description)
The horizontal alignment of the contents of the text box.
TextDecorations
TextDecorationCollection
(description)
The text decorations to apply to the text box.
TextWrapping
TextWrapping
(description)
How the text box should wrap text.