I'm trying to create a side collapsible panel that include StackPanel
For that Tried use Expander like following
<Expander Width="auto" ExpandDirection="Left" HorizontalAlignment="Right">
<Expander.Header>
<Border BorderBrush="Black" BorderThickness="1">
<StackPanel>
<Grid>
</Grid>
</StackPanel>
</Border>
</Expander.Header>
</Expander>
But this is not working properly, can't do the function that I expected.


