ExpandCollapseState 枚举
定义
包含用于指定 UI 自动化元素的 ExpandCollapseState 的值。Contains values that specify the ExpandCollapseState of a UI Automation element.
public enum class ExpandCollapseState
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")]
public enum ExpandCollapseState
type ExpandCollapseState =
Public Enum ExpandCollapseState
- 继承
- 属性
字段
Collapsed | 0 | 不显示 UI 自动化元素的子节点、控件或内容。No child nodes, controls, or content of the UI Automation element are displayed. |
Expanded | 1 | 显示 UI 自动化元素的所有子节点、控件或内容。All child nodes, controls or content of the UI Automation element are displayed. |
LeafNode | 3 | UI 自动化元素没有要显示的子节点、控件或内容。The UI Automation element has no child nodes, controls, or content to display. |
PartiallyExpanded | 2 | 显示 UI 自动化元素的部分(而不是全部)子节点、控件或内容。Some, but not all, child nodes, controls, or content of the UI Automation element are displayed. |
注解
ExpandCollapseState 仅表示直接子对象的可见性,而不表示所有后代对象的可见性。ExpandCollapseState refers to the visibility of immediate child objects only; it does not refer to the visibility of all descendant objects.