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
755
Moving tiles from one XamTilesControl to another XamTilesControl
posted

Hello,

I'm trying out the XamTilesControl, it's very nice but I can't get one thing to work:

When a tile is closed i want to add the tile to another xamTilesControl.

I tried to do that in the TileClosed and in the TileClosing event but it did not work (set the TileCloseAction="RemoveItem" on the source XamTilesControl)

if (sender is XamTilesControl)
            {
                if (e.Tile != null)
                {                   
                    xamTileControlDashboard.Items.Add(e.Tile);
                }
            }

This did not have any effect at all.

 

What I now do is creating a new tile and copying the properties of the old tile to the new tile and add that new tile to the target XamTilesControl.

Is this the correct way to achieve the behaviour I want or is there another way to do this?

 

 

 

 

 

 

Parents Reply Children
No Data