Class TextInputRequest
Describes a host-native text input request.
public sealed class TextInputRequest
- Inheritance
-
TextInputRequest
- Inherited Members
Properties
CharacterFilter
Gets an optional character filter applied by the host while text input is active.
public Func<char, bool> CharacterFilter { get; init; }
Property Value
Remarks
When specified, characters for which this delegate returns false are ignored by the host. Hosts should still preserve control keys such as backspace, enter, and escape.
InitialText
Gets the initial committed text buffer.
public string InitialText { get; init; }
Property Value
MaxLength
Gets the maximum number of committed characters accepted by the request.
public int MaxLength { get; init; }
Property Value
Prompt
Gets the optional hint shown by the caller while input is active.
public string Prompt { get; init; }
Property Value
Title
Gets the descriptive title shown by the caller for the request.
public string Title { get; init; }