Share via


SoftInputExtensions.ShowSoftInputAsync(ITextInput, CancellationToken) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<bool> ^ ShowSoftInputAsync(Microsoft::Maui::ITextInput ^ targetView, System::Threading::CancellationToken token);
public static System.Threading.Tasks.Task<bool> ShowSoftInputAsync (this Microsoft.Maui.ITextInput targetView, System.Threading.CancellationToken token);
static member ShowSoftInputAsync : Microsoft.Maui.ITextInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function ShowSoftInputAsync (targetView As ITextInput, token As CancellationToken) As Task(Of Boolean)

Parameters

targetView
ITextInput
token
CancellationToken

Cancellation token

Returns

Returns true if the platform was able to show the soft input pane.

Applies to