Back to API Reference
Class

NativeKeyboardConfig

sealed

Native software-keyboard and text-input traits for an editing session.

Remarks

Every enum defaults to Default = 0, leaving platform policy intact except Default, which follows whether the field accepts line breaks.
public KeyboardType KeyboardType{ get; set }

Keyboard layout presented by the OS.

public ReturnKeyType ReturnKeyType{ get; set }

Action the return key declares, which also selects its label.

public AutoCapitalization AutoCapitalization{ get; set }

Automatic capitalization behavior.

public AutoCorrection AutoCorrection{ get; set }

Whether the OS autocorrects typed text.

public SpellChecking SpellChecking{ get; set }

Whether the OS provides inline spell-checking.

public AutofillHint AutofillHint{ get; set }

Semantic hint for the OS autofill system.

public SmartFeatureMode SmartQuotes{ get; set }

Gets or sets automatic quote substitution on iOS.

public SmartFeatureMode SmartDashes{ get; set }

Gets or sets automatic dash substitution on iOS.

public SmartFeatureMode SmartInsertDelete{ get; set }

Gets or sets automatic whitespace adjustment around edits on iOS.

public bool EnablesReturnKeyAutomatically{ get; set }

Gets or sets whether iOS enables the return key only for non-empty text.

public string PasswordRules{ get; set }

Gets or sets iOS password-generation rules, or an empty value for none.

public string IOSKeyboardTypeOverride{ get; set }

Gets or sets a supported iOS-only keyboard type name that overrides KeyboardType.

public string IOSReturnKeyOverride{ get; set }

Gets or sets a supported iOS-only return-key name that overrides ReturnKeyType.

public AndroidImeFlags ImeFlags{ get; set }

Gets or sets optional Android IME policies.

[ctor]public NativeKeyboardConfig()

Creates a keyboard configuration using platform defaults.