4.893 TextBoxBase
x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > TextBoxBase, IInputElement | |
TextBoxBase | |
RichTextBox TextBox | |
(usage) |
None. |
(description) |
A base type that provides functionality for text editing controls. |
[is default constructible] |
false |
[name property] |
Name |
[xml lang property] |
Language |
(properties) |
|
AcceptsReturn |
x:Boolean |
(description) |
A value that indicates how the text editing control responds when the user presses the ENTER key. |
AcceptsTab |
x:Boolean |
(description) |
A value that indicates how the text editing control responds when the user presses the TAB key. |
AutoWordSelection |
x:Boolean |
(description) |
A value that determines whether when a user selects part of a word by dragging across it with the mouse, the rest of the word is selected. |
CaretBrush |
Brush |
(description) |
The brush that is used to paint the caret of the text box. |
HorizontalScrollBarVisibility |
ScrollBarVisibility |
(description) |
A value that indicates whether a horizontal scroll bar is shown. |
IsInactiveSelectionHighlightEnabled |
x:Boolean |
(description) |
A value that indicates whether the text box displays selected text when the text box does not have focus. |
IsReadOnly |
x:Boolean |
(description) |
A value that indicates whether the text editing control is read-only to a user interacting with the control. |
IsReadOnlyCaretVisible |
x:Boolean |
(description) |
A value that indicates whether a read-only text box displays a caret. |
IsUndoEnabled |
x:Boolean |
(description) |
A value that indicates whether undo support is enabled for the text-editing control. |
SelectionBrush |
Brush |
(description) |
The brush that highlights selected text. |
SelectionOpacity |
x:Double |
(description) |
The opacity of the SelectionBrush. |
UndoLimit |
x:Int32 |
(description) |
The number of actions stored in the undo queue. |
VerticalScrollBarVisibility |
ScrollBarVisibility |
(description) |
A value that indicates whether a vertical scroll bar is shown. |
(events) |
|
SelectionChanged |
Occurs when the text selection has changed. |
TextChanged |
Occurs when content changes in the text element. |