Sdílet prostřednictvím


SoftInputExtensions.ShowSoftInputAsync(ITextInput, CancellationToken) Metoda

Definice

Pokud se aktuálně skrývá podokno s měkkým vstupem, pokusí se ho zobrazit.

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)

Parametry

targetView
ITextInput
token
CancellationToken

Token zrušení

Návraty

Vrátí hodnotu true , pokud se platformě podařilo zobrazit podokno s měkkým vstupem.

Platí pro