ExpandCollapseState 列舉 (uiautomationcore.h)

包含值,指定可以展開和折迭之 UI 元素的狀態。

Syntax

typedef enum ExpandCollapseState {
  ExpandCollapseState_Collapsed = 0,
  ExpandCollapseState_Expanded = 1,
  ExpandCollapseState_PartiallyExpanded = 2,
  ExpandCollapseState_LeafNode = 3
} ;

常數

 
ExpandCollapseState_Collapsed
值: 0
看不到任何子系。
ExpandCollapseState_Expanded
值: 1
所有子系都是可見的。
ExpandCollapseState_PartiallyExpanded
值: 2
有些子系看不到,但並非所有子系。
ExpandCollapseState_LeafNode
值: 3
專案不會展開或折迭。

需求

   
最低支援的用戶端 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
標頭 uiautomationcore.h (包含 UIAutomation.h)

另請參閱

IExpandCollapseProvider