-api-id -api-type M:Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider.Collapse winrt method Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider.Collapse -description Hides all nodes, controls, or content that are descendants of the control. -remarks -examples -see-also