프로그래밍 기술/소프트웨어 접근성, UI 자동화
[S/W 접근성] ExpandCollapsePattern
언제나휴일
2016. 4. 19. 14:04
반응형
System.Object
System.Windows.Automation.BasePattern
System.Windows.Automation.ExpandCollapsePattern
네임스페이스:
System.Windows.Automation
어셈블리:
UIAutomationClient(UIAutomationClient.dll)
ExpandCollapsePattern의 Current 및 Cached 속성으로 ExpandCollapsePatternInformation 구조체를 접근할 수 있습니다. ExpandCollapsePatternInformation 구조체에는 ExpandCollapseState 속성이 있어 상태를 가져올 수 있습니다.
열거형 멤버 |
설명 |
Collapsed |
축소 상태입니다. |
Expanded |
펼쳐진 상태입니다. |
LeafNode |
자식 노드나 컨트롤 혹은 콘텐츠가 없는 LeafNode입니다. |
PartiallyExpanded |
일부만 펼쳐진 상태입니다. |
[표 5.4] ExpandCollapseState 열거형 멤버
그리고 ExpandCollapsePattern 클래스에는 멤버 메서드로 Collapse와 Expand를 제공하여 펼치거나 축소할 수 있습니다.
반응형