// Menus private void ConstructMenus() { this.MenuListView.ItemClick += (s, e) => { if (e.ClickedItem is Retouch_Photo2.Menus.Icon value) { MenuType type = value.Type; FrameworkElement placementTarget = value; MenuExpander.ShowAt(type, placementTarget); } }; }
private void LayersRightTapped() { MenuExpander.ShowAt(MenuType.Layer, this.LayersScrollViewer); }
private void LayerRightTapped(ILayer layer) { MenuExpander.ShowAt(MenuType.Layer, layer.Control); }