Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1070
Using the XamTileManager as the Content of an ApplicationMenu2010Item
posted

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

Parents
No Data
Reply
  • 54937
    Verified Answer
    Offline posted

    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.

Children