ITextInput Interface

Definition

Represents a View which can take keyboard input.

public interface class ITextInput : Microsoft::Maui::IPlaceholder, Microsoft::Maui::IText
public interface ITextInput : Microsoft.Maui.IPlaceholder, Microsoft.Maui.IText
type ITextInput = interface
    interface IText
    interface ITextStyle
    interface IPlaceholder
Public Interface ITextInput
Implements IPlaceholder, IText
Derived
Implements

Properties

CharacterSpacing

Gets the spacing between characters of the text.

(Inherited from ITextStyle)
CursorPosition

Gets or sets the position of the cursor.

Font

Gets the font family, style and size of the font.

(Inherited from ITextStyle)
IsReadOnly

Gets a value indicating whether or not the view is read-only.

IsSpellCheckEnabled

Gets a value that controls whether spellchecking is on or off.

IsTextPredictionEnabled

Gets a value that controls whether text prediction and automatic text correction is on or off.

Keyboard

Gets the keyboard input type.

MaxLength

Gets the maximum allowed length of input.

Placeholder

Gets the placeholder or hint text.

(Inherited from IPlaceholder)
PlaceholderColor

Gets or sets the placeholder text color.

(Inherited from IPlaceholder)
SelectionLength

Gets the length of the selection.

Text

Gets or sets the text.

TextColor

Gets the text color.

(Inherited from ITextStyle)

Extension Methods

UpdateText(ITextInput, String)
HideSoftInputAsync(ITextInput, CancellationToken)

If a soft input pane is currently showing, this will attempt to hide it.

IsSoftInputShowing(ITextInput)

Checks to see if the platform is currently showing the soft input pane

ShowSoftInputAsync(ITextInput, CancellationToken)

If a soft input pane is currently hiding, this will attempt to show it.

Applies to