private async void HamburgerOnItemChanged(object sender, HamburgerItem item) { if (item != null) { await Frame.NavigateAsync(item.PageType, item.PageParameter); } }
private void RaiseItemChanged(HamburgerItem item) { if (item != CurrentItem) { CurrentItem = item; var copy = ItemChanged; if (copy != null) { copy(this, item); } } IsPaneOpen = false; }
private async void HamburgerOnItemChanged(object sender, HamburgerItem item) { if (item != null) await Frame.NavigateAsync(item.PageType, item.PageParameter); }
private void RaiseItemChanged(HamburgerItem item) { if (_isChanging) return; if (item != CurrentItem) { CurrentItem = item; var copy = ItemChanged; if (copy != null) copy(this, item); } IsPaneOpen = false; }