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
90
Nested xamTileManager
posted

Hi,

I wanted to nest one xamTileManager control inside another, but am having some difficulty.

The parent xamTileManager has a TileAreaSplitter and only 1 maximized tile is allowed. I have added another xamTileManager to this parents ItemTemplateMaximized as the last tiem vertically. Here are the problems I am facing

- If I align the child xamTileManager vertically and to the right, they hide behind the parent's tiles "minimized" tiles in the TileAreaSplitter

- When I maximize the child tile, it does not occupy the remaining vertical area in the parent xamTileManager. There are no restrications on the row height of the parent grid or the child xamTileManager.

- Is it possible to collapse the TileAreaSplitter to the side of the parent xamTileManager when the child is maximized?

- Is it possible for to hide the parent maximized tile when the child tile is maximized and show it again when the child is "minimized/restored"?

Thanks

Parents
No Data
Reply
  • 6365
    Offline posted

    Hello Yash,
     
    1) You can collapse the TileAreaSplitter of any of the XamTileManagers by simply setting it's MaximizedModeSettings.ShowTileAreaSplitter property to false. (An instance of the MaximizedModeSettings should be created first because it is null by default)


    tileManager.MaximizedModeSettings = new MaximizedModeSettings();

    tileManager.MaximizedModeSettings.ShowTileAreaSplitter = false;


    You can also use the TileStateChanged event of the XamTileManager to handle the situation when a tile has changed it's state.

    2) Since the child XamTileManager and it's tiles are contained within the Content of a tile of the parent XamTileManager, collapsing or hiding the parent tile will hide it's Content as well.


    I have attached a sample application where I have used basic DataTemplates for all four ItemTemplates of the XamTileManager.

    Since I was not able to reproduce the issues you have described in regards to alignment of the child XamTileManager and the area occupied by a tile of the child XamTileManager, w
    ould you please modify the sample so these issues are reproduced and send it back to me?
    Having this information will help me further investigate this matter for you.

    For more detailed information on using the ItemTemplates, you can take a look at Binding xamTileManager to Data.
     
    Looking forward to your reply.

    XamTileManager_itemTemplates.zip
Children