ExpandCollapseState 列舉

定義

包含值,指定使用者介面自動化項目的 ExpandCollapseStateContains values that specify the ExpandCollapseState of a UI Automation element.

public enum class ExpandCollapseState
public enum ExpandCollapseState
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")]
public enum ExpandCollapseState
type ExpandCollapseState = 
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")>]
type ExpandCollapseState = 
Public Enum ExpandCollapseState
繼承
ExpandCollapseState
屬性

欄位

Collapsed 0

不會顯示使用者介面自動化項目的任何子節點、控制項或內容。No child nodes, controls, or content of the UI Automation element are displayed.

Expanded 1

顯示使用者介面自動化項目的所有子節點、控制項或內容。All child nodes, controls or content of the UI Automation element are displayed.

LeafNode 3

使用者介面自動化項目沒有要顯示的任何子節點、控制項或內容。The UI Automation element has no child nodes, controls, or content to display.

PartiallyExpanded 2

顯示使用者介面自動化項目的部分 (而非所有) 子節點、控制項或內容。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.

適用於