Exemple #1
0
        private async void TapCloseMenu_Tapped(object sender, EventArgs e)
        {
            await SlMenu.TranslateTo(-250, 0, 400, Easing.Linear);

            GridOverlay.IsVisible = false;
            LblWelcome.IsVisible  = true;
        }
Exemple #2
0
        private async Task CloseHamburgerMenu()
        {
            //400 miliseconds to close side menu
            await SlMenu.TranslateTo(-250, 0, 400, Easing.Linear);

            GridOverlay.IsVisible = false;
        }
Exemple #3
0
        private async void CloseHamBurgerMenu()
        {
            await SlMenu.TranslateTo(-250, 0, 400, Easing.Linear);

            GridOverlay.IsVisible = false;
        }
Exemple #4
0
 private async void TapMenu_Tapped(object sender, EventArgs e)
 {
     GridOverlay.IsVisible = true;
     await SlMenu.TranslateTo(0, 0, 400, Easing.Linear);
 }
Exemple #5
0
 private async void ImgMenu_Tapped(object sender, EventArgs e)
 {
     GridOverlay.IsVisible = true;
     //400 miliseconds to open side menu
     await SlMenu.TranslateTo(0, 0, 400, Easing.Linear);
 }
        private async void CloseSideBar()
        {
            await SlMenu.TranslateTo(-2, 0, 800, Easing.Linear);

            GridOverlay.IsVisible = false;
        }
Exemple #7
0
 private async void TapMenu_OnTapped(object sender, EventArgs e)
 {
     //GridOverlay
     GridOverlay.IsVisible = true;
     await SlMenu.TranslateTo(0, 0, 400, Easing.SinIn);
 }