TextField
Properties
Autocorrection
Whether the keyboard autocorrects and spell-checks the input.
Type: bool
Capitalization
When typing is automatically capitalized.
Type: Capitalization
ClearButton
When the field shows its built-in clear button.
Clearing preserves focus and updates
TextandTextChanged.
Type: ClearButton
ContentKind
What the field holds, so the system can offer autofill (passwords, one-time codes, contacts).
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
Keyboard
Which on-screen keyboard to show while editing.
Type: KeyboardType
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
LeadingIcon
The local icon shown before the text, or null for none.
Type: ImageSource?
Placeholder
Placeholder text shown when empty.
RequiresText
Whether the return key is disabled while the field is empty.
Type: bool
ReturnKey
The label shown on the keyboard's return key.
Type: ReturnKeyType
SubmitCommand
Command invoked when the user taps the keyboard's return key.
Type: ICommand?
SubmitCommandParameter
The parameter passed to SubmitCommand.
Type: object?
Text
The current text.
TextChanged
Invoked with the new value whenever the text changes.
TrailingIcon
The local icon shown after the text, or null for none.
Shares the trailing slot with
ClearButton, so an icon hides the clear button.
Type: ImageSource?