SoftInputExtensions.ShowSoftInputAsync(ITextInput, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.