I am trying to use the XamTileManager as the Content of an ApplicationMenu2010Item and it does not honor any of the layout settings for the tiles. There is something wrong with the ApplicationMenu2010Item that causes the XamTileManager to get confused. I have also tested this with the WPF WrapPanel. When the WrapPanel is the Content of the ApplicationMenu2010Item it does not wrap its items at all. They are just shown as a single line of continuous items, it never wraps. I am not sure if there is a work-around or some other setting that I am not aware of but from what I can tell at this point...its a bug somewhere...my guess is that its in the ApplicationMenu2010Item.
I am using version 13.1.20131.1009
Could someone please confirm my findings and please tell me if there is a way to get the XamTileManager to behave correctly as the Content of an ApplicationMenu2010Item?
Thanks
I think the issue is that the body of the ApplicationMenu2010 is within a ScrollViewer (to reproduce the MS Office behavior whereby the entire area scrolls) and therefore the children are measured with infinity. Things like a WrapPanel or XamTileManager would probably need an explicit values (e.g. width) in the measure to be able to wrap and when measured with infinity are essentially reporting an auto size (i.e. how big the children want to be). I think the only way you'll be able to get around this would be to disable the scrolling in the ApplicationMenu2010 which will require retemplating the ApplicationMenu2010. We could probably make this a bit easier by binding the scrollbar visibility to properties on the ApplicationMenu2010. Then you could probably disable horizontal scrolling. We can look into changing that part in an upcoming SR.
From the answers in this post, it appears that the scrollbar properties are supposed to be available now. I am on version 14.2. How do I disable ApplicationMenu2010 vertical scrolling? Can you please provide an example?
Thanks,
Jon
Hello Jon,
I have created a sample project for you, which shows how you can disable the vertical and horizontal scrollbars. Basically I set the ApplicationMenu2010's ScrollViewer.HorizontalScrollBarVisibility and ScrollViewer.VerticalScrollBarVisibility Properties to Disable.
Hope this helps you.