Posts

Showing posts with the label popup

PopUp Animation UWP

PopUp Animation UWP I have a popup that opens with animation and closes with animation, with the property IsLightDismissEnabled set to true, this allows the popup to close even with a click outside of it. But if I click repeatedly on the btnPopUp, the pop up closes and opens in an always different position. Is possible solve this so that the animation remains - PaneThemeTransition Edge = "Top" - because I would like the animation to scroll when it opens and the same when it closes. MainPage.xaml: <Grid x:Name="RootGrid" Width="500" Height="40"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="40"/> </Grid.ColumnDefinitions> <Popup x:Name="PopUpPanel" IsLightDismissEnabled="True" RenderTransformOrigin="0.5,0.5" > <Popup.ChildTransitions> <TransitionCollection> ...