public sealed class TextAreaA field for several lines of text.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A TextBox that takes a line break, and that is the whole difference. The wrapping was already there — the theme puts white-space: normal on this tag's text and TextLayout breaks on both a mandatory break and a measured one — and what was missing was any way to get a newline into the value: Enter submitted, so a box offered for a YAML document could hold exactly one line of it. That is the shape of bug that reads as a field which will not accept what you type.
⚠ Ctrl-Enter still submits, so a form whose default button lives behind Submitted is still reachable from inside the one field that has claimed the plain key. That is a keybinding collision with exactly two claimants and only one plain key — the field wants a line break, the form wants its default action, and a dialog's accept button is not focused while a field is, so Enter never reaches it as an activation. TextField.Keyed carries the resolution; SubmitEvent is the routed half, so an ancestor can hear it without holding a reference to the field.
Fields and properties (2)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsNewlinesWhether Enter puts a line break in the value rather than submitting it.
Used by (9)
- AccessibilityTreeTestsVixen.Ui.Controls.Tests
- CaretAffinityTestsVixen.Ui.Controls.Tests
- ClipboardTestsVixen.Ui.Controls.Tests
- EditingParityTestsVixen.Ui.Controls.Advanced.Tests
- MarkupTestsVixen.Ui.Controls.Tests
- RtlFieldMirroringTestsVixen.Ui.Controls.Tests
- EditorApplicationVixen.Editor.App
- MultilineDrawerVixen.Editor.Inspector
- NodeCommentViewVixen.Editor.NodeGraph