protected override void OnNavigatedFrom(NavigationEventArgs e)
        {
            if (vm != null)
            {
                vm.Dispose();
                vm = null;
            }

            base.OnNavigatedFrom(e);
        }
        protected override void OnNavigatedFrom(NavigationEventArgs e)
        {
            if (Client.CurrentClient.HasSearch)
                SearchPane.GetForCurrentView().ShowOnKeyboardInput = false;

            if (vm != null)
            {
                vm.Dispose();
                vm = null;
            }
        }
 protected async override void OnNavigatedTo(NavigationEventArgs e)
 {
     DataContext = vm = new Vidyano.ViewModel.Pages.QueryItemSelectPage(this);
     await vm.Initialize(e.Parameter as string);
 }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            DataContext = vm = new Vidyano.ViewModel.Pages.QueryItemSelectPage(this);

            base.OnNavigatedTo(e);
        }