Collapse Method (WPFExpander)

Action

Collapses the Expander control. Only the header is visible.

Syntax

C#
expander.Collapse()
VB
expander.Collapse()