PaneThemeTransition For Pane Exit RRS feed

  • Question

  • I have a popup control with a PaneThemeTransition. When I set Popup.isVisible to true it animates in nicely. However, when I set Popup.isVisible to false it just disappears. I am trying to achieve the effect of the charm bar as it animates in and animates out. How is this possible? Thanks.
    Wednesday, April 9, 2014 12:13 AM

All replies

  • How are you calling it?

    Have you looked at the Popup sample

    For the charm bar effect see Animating edge-based UI . For Popups see Animating pop-up UI?

    Wednesday, April 9, 2014 11:53 PM
  • Hi, I'm calling it like this just to test the behavior:

    <Popup x:Name="abc" IsOpen="True">
                        <PaneThemeTransition />
                <Grid Background="AliceBlue" Width="700" Height="100" />

    This is placed in the main page grid. I toggle the IsOpen property with a button. When I toggle it to on it animates, but when I toggle it off it just disappears.

    I have tried to view the Popup sample, but the page says the item is not yet published.

    Thursday, April 10, 2014 1:05 AM
  • have you tried replacing Popup.IsVisible = "False" with Popup.IsOpen="False"?
    Friday, April 11, 2014 8:17 PM