Search code examples
windows-runtimeuwpwindows-10-universaluwp-xamltemplate10

[UWP]Using Frame control in PivotItem


don't you know any uwp/winrt control for navigation within Pivot? I have pivot control with 4 pivotitems. When I have selected one of them, I need to navigate within this pivotitem. So pivot control stay on top, but in pivotitem I could navigate. Is it good to use Frame control in PivotItem?


Solution

  • If you need to navigate within PivotItem then you are in the right direction. You can use Frame in PivotItem. Frame displays Page instances, supports navigation to new pages, and maintains a navigation history to support forward and backward navigation.

    Ref Frame class

    You use the Frame control to support navigation to Page instances. You create as many different page types as needed to present the content in your app, and then navigate to those pages by calling the Navigate method and passing in the type of the page to navigate to.