TextEditor
A multi-line text input.
Properties
Autocorrection
Whether the keyboard autocorrects and spell-checks the input.
Type: bool
Capitalization
When typing is automatically capitalized.
Type: Capitalization
ContentKind
What the editor holds, so the system can offer autofill.
Type: ContentKind
FontDesign
The system font design the text uses.
Type: FontDesign
FontSize
Font size in points.
FontWeight
The weight the text is drawn at.
Type: FontWeight
KeyboardAccessory
A custom view above the raised keyboard.
Wins over
KeyboardToolbar; one view per field.
Type: View?
KeyboardLook
The color scheme of the raised keyboard.
Type: KeyboardLook
KeyboardToolbar
A bar above the raised keyboard with Done and optional previous/next arrows.
Type: KeyboardToolbar
Text
The current text.
TextChanged
Invoked with the new value whenever the text changes.
Methods
MeasureOverride
Content measurement. Panels recurse; controls delegate to the native SizeThatFits.
| Parameter | Summary |
|---|---|
Size availableSize | The size available for the view's content. |
Returns
Size: The desired content size.