InputPaneVisibilityEventArgs.EnsuredFocusedElementInView 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別應用程式是否已採取步驟,以確保輸入窗格未涵蓋具有焦點的 UI 元素。
public:
property bool EnsuredFocusedElementInView { bool get(); void set(bool value); };
bool EnsuredFocusedElementInView();
void EnsuredFocusedElementInView(bool value);
public bool EnsuredFocusedElementInView { get; set; }
var boolean = inputPaneVisibilityEventArgs.ensuredFocusedElementInView;
inputPaneVisibilityEventArgs.ensuredFocusedElementInView = boolean;
Public Property EnsuredFocusedElementInView As Boolean
屬性值
Boolean
bool
如果應用程式已確定輸入窗格未涵蓋具有焦點的 UI 元素,則為 True;否則為 false。
備註
如果此屬性為 false,Windows 可確保輸入窗格未涵蓋焦點元素。
如果您執行此工作以確保未涵蓋焦點元素,請務必將此屬性設定為 true,以防止 Windows 嘗試執行相同的工作;否則,結果可能會無法預測。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應