Developer Docs - Mobile Docs - Expander
M v2.0C v12.4
Inherits from Microsoft.Maui.Controls.ContentView
The expander allows you to display two stacked views. A header view and then a content view. When the Expander is collapsed, the content is hidden. When expanded, it's shown. And then when tapping on the header it will toggle the state of the Expander.
Before shell v6, animations were used to show and hide content. However, properties related to animations will no longer work in shell v6 and later.
Properties
Expand Direction
Example