Bagikan melalui


Metode IUIAutomationElement3::get_CachedIsPeripheral (uiautomationclient.h)

Mengambil indikator UI periferal cache untuk elemen . UI periferal muncul dan mendukung interaksi pengguna, tetapi tidak mengambil fokus keyboard saat muncul. Contoh UI periferal mencakup popup, flyout, menu konteks, atau pemberitahuan mengambang.

Properti ini bersifat hanya baca.

Sintaks

HRESULT get_CachedIsPeripheral(
  BOOL *retVal
);

Parameter

retVal

Mengembalikan nilai

Tidak ada

Keterangan

Ketika properti IsPeripheralTRUE, aplikasi klien tidak dapat mengasumsikan bahwa fokus diambil oleh elemen bahkan jika saat ini interaktif keyboard.

Properti ini relevan untuk jenis kontrol ini:

  • UIA_GroupControlTypeId
  • UIA_MenuControlTypeId
  • UIA_PaneControlTypeId
  • UIA_ToolBarControlTypeId
  • UIA_ToolTipControlTypeId
  • UIA_WindowControlTypeId
  • UIA_CustomControlTypeId
Munculnya UI periferal sering memicu salah satu peristiwa ini, jika UI periferal mendukung salah satu pola yang relevan:
  • WindowOpened (UIA_Window_WindowOpenedEventId)
  • MenuBuka (UIA_MenuOpenedEventId)
  • ToolTipOpened (UIA_ToolTipOpenedEventId)

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 8.1 [hanya aplikasi desktop]
Server minimum yang didukung Windows Server 2012 R2 [hanya aplikasi desktop]
Target Platform Windows
Header uiautomationclient.h (termasuk UIAutomation.h)

Lihat juga

IUIAutomationElement3

Referensi