public void HamItemClicked(HamItem item) { foreach (var i in HamItems) { i.IsSelected = false; } item.IsSelected = true; Navigate(item.DestPage, item.Label); }
public void HamItemClicked(HamItem item) { foreach (var i in HamItems) { i.IsSelected = false; } item.IsSelected = true; Navigate(item.DestPage, item.Label); if (!(DisplayMode == SplitViewDisplayMode.Inline)) { IsPaneOpen = false; } }