Skip to main content

IExpandCollapseProvider Interface

Exposes methods and properties to support UI Automation client access to controls that visually expand to display content and collapse to hide content.

Definition​

Namespace: Avalonia.Automation.Provider
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public interface IExpandCollapseProvider
View Source

Properties​

ExpandCollapseStateGets the state, expanded or collapsed, of the control.
ShowsMenuGets a value indicating whether expanding the element shows a menu of items to the user, such as drop-down list.

Methods​

Collapse()Hides all nodes, controls, or content that are descendants of the control.
Expand()Displays all child nodes, controls, or content of the control.

See Also​

Reference​

Avalonia.Automation.Provider Namespace