Example #1
0
 private async void HamburgerOnItemChanged(object sender, HamburgerItem item)
 {
     if (item != null)
     {
         await Frame.NavigateAsync(item.PageType, item.PageParameter);
     }
 }
Example #2
0
        private void RaiseItemChanged(HamburgerItem item)
        {
            if (item != CurrentItem)
            {
                CurrentItem = item;

                var copy = ItemChanged;
                if (copy != null)
                {
                    copy(this, item);
                }
            }

            IsPaneOpen = false;
        }
Example #3
0
 private async void HamburgerOnItemChanged(object sender, HamburgerItem item)
 {
     if (item != null)
         await Frame.NavigateAsync(item.PageType, item.PageParameter);
 }
Example #4
0
        private void RaiseItemChanged(HamburgerItem item)
        {
            if (_isChanging)
                return; 

            if (item != CurrentItem)
            {
                CurrentItem = item;

                var copy = ItemChanged;
                if (copy != null)
                    copy(this, item);
            }

            IsPaneOpen = false;
        }