TreeViewItemAutomationPeer.ExpandCollapseState 속성

정의

연결된 TreeViewItem의 확장되거나 축소된 상태를 나타내는 값을 가져옵니다.

UWP에 해당하는 WinUI 2 API: Microsoft.UI.Xaml.Automation.Peers.TreeViewItemAutomationPeer.ExpandCollapseState(Windows 앱 SDK WinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 property ExpandCollapseState ExpandCollapseState { ExpandCollapseState get(); };
ExpandCollapseState ExpandCollapseState();
public ExpandCollapseState ExpandCollapseState { get; }
var expandCollapseState = treeViewItemAutomationPeer.expandCollapseState;
Public ReadOnly Property ExpandCollapseState As ExpandCollapseState

속성 값

연결된 TreeViewItem의 확장되거나 축소된 상태입니다. 기본값은 Expanded입니다.

구현

설명

ExpandCollapseState 는 직접 자식 개체의 표시 여부만 나타냅니다. 모든 하위 개체의 표시 유형을 참조하지는 않습니다.

적용 대상