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 回 。

適用於