Share via


SoftInputExtensions.HideSoftInputAsync(ITextInput, CancellationToken) Methode

Definition

Wenn derzeit ein softer Eingabebereich angezeigt wird, wird versucht, ihn auszublenden.

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

Parameter

targetView
ITextInput
token
CancellationToken

Abbruchtoken

Gibt zurück

Gibt zurück true , wenn die Plattform den Softeingabebereich ausblenden konnte.

Gilt für: