Wrirte this code in Mainpage.xaml.
< Popup x : name = popup IsLightDismissEnabled = true >
< Popup . ChildTransitioins >
< TransitionCollection >
< PaneThemeTransition />
< /TransitionCollection >
</Border>
< /Popup>
Write this code in Mainpage.xaml.cs.
if (!Popup.IsOpen)
{
PopupBorder.Width = 658;
PopupBorder.Height = 100;
Popup.HorizontalOffset = Window.Current.Bounds.Width - 658 ;
Popup.VerticalOffset = 90;
Popup.IsOpen = true;
}
No comments:
Post a Comment