Does any one know how to animate a panel that is docked (Dock="Bottom"
) so that it slides out of view and the remaining space is then occupied by its siblilings. Please see the below example of the structure.
<App Theme="Basic" Background="#eeef">
<DockPanel>
<Panel ux:Name="_header" Dock="Bottom" Height="45" Background="Blue">
<Text>Header</Text>
</Panel>
<Panel ux:Name="_page" Background="Yellow">
<Text>Page</Text>
<Clicked>
<!--
Do something here that makes panel
_header animate off the screen while
having _page fill up the rest of the screen
-->
</Clicked>
</Panel>
</DockPanel>
</App>