Which is the best Navigation control to use to have items wrap around when they exceed width of app?

JohnMartel 41 Reputation points
2021-03-23T05:55:33.467+00:00

What would be the best navigation control to use to have its items wrap around when they exceed the width of the app. Basically much like a TabControl in WPF. Pivot seemed like a possible option, but i couldnt find a "wrap" property for the PivotItems also Windows Developer documentation recommended no using Pivot because it will no longer be supported. Thanks in advance

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. AryaDing-MSFT 2,841 Reputation points
    2021-03-24T05:28:50.347+00:00

    Hi,

    Welcome to Microsoft Q&A!

    You mean that your items exceed width of app, right? It is not recommended to use Pivot, you need to avoid using more than 5 headers when using carousel mode, as looping more than 5 can become confusing.

    I suggest you could use NavigationView to instead of Pivot, NavigationView automatically adapts to different screen sizes and allows for greater customization. As follows:

    80974-capture.jpg


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful