Complete hub section

How do I set HubSection.Width to full screen width? I can't seem to use the screen resolution for the HubSection property like this:

HubSection1.Width = res.Width;
HubSection2.Width = res.Width;
HubSection3.Width = res.Width;

      

... because then I scroll-right the hub section shows the wrong layout with snippets of another section. But when I sit down to the left, everything is correct.

Windows Phone 8.1

+3


source to share


1 answer


The solution is very simple. I am now using Pivot control.



+1


source







All Articles