JuP
JuP

Reputation: 535

Navigation - SplitView or Pivot

I'd like to ask you, what do you think, which control is better for navigation. What I mean? Now I have Pivot control with 2 PivotItems. One of them is named Contacts. This PivotItem contains Frame. And the frame makes new navigation on page with contacts (listview). Why Frame? When I click on some contact I need to show details of current contact. But I need to display it inside PivotItem, therefore I use inner frame. So I can still see main view and other pivot items. I think, that pivot is not right control for it. Or I should show contact details for whole screen, not only in pivotitem.

FrameA and FrameB. FrameA has navigated from Main to Page1. Page1 has a Pivot that hosts FrameB in PivotItem1 and FrameB has navigated from View1 to View 2 and from View2 to View 3

Upvotes: 0

Views: 99

Answers (1)

Bart
Bart

Reputation: 10015

I suggest you start reading up on navigation basics for Windows 10 and look at some other apps how they do it.

You could use a navigation pane (which is mostly done using a SplitView), in which you show your contacts grid in the main panel and navigate to a single contact when clicking on it. The other item in your navigation pane would be the title for your 2nd pivot tab.

enter image description here

If you want to keep your contact list visibile at all time and show the details of a single contact next to it, the alternative is using master-detail. Either on a full screen, or by placing the master detail on the main panel of your SpltView.

enter image description here

You can find a master-detail control in the UWP Community Toolkit.

Upvotes: 0

Related Questions