[]
        
(Showing Draft Content)

C1.Win.Accessibility.Items.BaseInterfaces.IUiaExpandCollapseProvider

IUiaExpandCollapseProvider Interface

Exposes a control's ability to expand to display more content or collapse to hide content. Supported in conjunction with the HierarchyItem pattern on TreeView items to provide tree-like behavior, but is also relevant for individual controls that open and close.

Examples of UI that implements this includes:

  • TreeView items
  • Office's smart menus that have been collapsed
  • Chevrons on toolbars
  • Combo box
  • Menus
  • "Expandos" in the task pane of Windows Explorer (left-hand side where folder view is often displayed).
Namespace: C1.Win.Accessibility.Items.BaseInterfaces
Assembly: C1.Win.8.dll
Syntax
public interface IUiaExpandCollapseProvider

Properties

Name Description
ExpandCollapseState

indicates an element's current Collapsed or Expanded state

Methods

Name Description
Collapse()

Blocking method that returns after the element has been collapsed.

Expand()

Blocking method that returns after the element has been expanded.