AutomationProperties.IsPeripheral 附加屬性

定義

取得或設定值,這個值表示自動化專案是否代表周邊 UI。

see GetIsPeripheral, and SetIsPeripheral
see GetIsPeripheral, and SetIsPeripheral
see GetIsPeripheral, and SetIsPeripheral

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

周邊 UI 隨即出現並支援使用者互動,但在出現時不會取得鍵盤焦點。 周邊 UI 的範例包括快顯視窗、飛出視窗、操作功能表或浮動通知。

IsPeripheral當 屬性為 true 時,即使目前是鍵盤互動式,用戶端應用程式也無法假設元素會取得焦點。

此屬性與這些控制項類型相關:

  • 群組控制項
  • 功能表控制項
  • 窗格控制項
  • ToolBar 控制項
  • 工具提示控制項
  • 視窗控制項
  • 自訂控制項

適用於

另請參閱