Share via


SoftInputExtensions.IsSoftInputShowing(ITextInput) 方法

定义

检查平台当前是否显示软输入窗格

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsSoftInputShowing(Microsoft::Maui::ITextInput ^ targetView);
public static bool IsSoftInputShowing (this Microsoft.Maui.ITextInput targetView);
static member IsSoftInputShowing : Microsoft.Maui.ITextInput -> bool
<Extension()>
Public Function IsSoftInputShowing (targetView As ITextInput) As Boolean

参数

targetView
ITextInput

返回

true如果当前显示软输入窗格,则返回 。

适用于