Input Pane v11.1
The InputPane allows developers to listen for the platform's input pane (e.g., software keyboard or on-screen keyboard) current state and boundaries.
The InputPane can be access through an instance of TopLevel or Window, for more details on accessing TopLevel please visit TopLevel page:
var inputPane = TopLevel.GetTopLevel(control).InputPane;
примечание
Currently, Avalonia does not automatically adjust root view and scrolling position depending on state of the input pane. Instead, it is recommended for developers to use IInputPane API and adjust their apps accordingly.
Automatic adjustment is planned for future 11.* releases.
Properties
State
The current input pane state. Possible values:
InputPaneState.ClosedInputPaneState.Opened
InputPaneState State { get; }