private void CreateMenu() { _menu = new SideMenu(SLWIOC.Get <IAuthManager>()); _menu.MenuItemTapped += _menu_MenuItemTapped; _menu.IsVisible = false; _menu.TranslationX = -MENU_WIDTH; _menu.BackgroundColor = AppStyle.MenuBarBackground.ToXamFormsColor(); _menu.WidthRequest = MENU_WIDTH; _menu.HorizontalOptions = LayoutOptions.Start; _menu.SetValue(Grid.RowProperty, 1); _pageMenuMask = new Grid() { BackgroundColor = Xamarin.Forms.Color.Black, Opacity = 0.50 }; _pageMenuMask.SetValue(Grid.RowProperty, 1); _pageMenuMask.IsVisible = false; }