Is it possible to have a different DataContext for each Tile?
For example we have a List (Which contains a Key(string), Description(string) and a property called 'Data'(object)). Now bind this list to TileManager and show 'Description' property on each Tile, however when we expand the Tile I want to bind and show the details from the 'Data' property. The 'Data' property can be different for each item in the list.
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
On NormalModeSettings of TilesManager setting AllowTileSizing to 'No' fixed my problem.
<ig:XamTileManager.NormalModeSettings> <ig:NormalModeSettings AllowTileSizing="No" ></ig:NormalModeSettings> </ig:XamTileManager.NormalModeSettings>
Thanks
Stephen,
Seems you misunderstood my question, with e.cancel in your solution, the Tile never gets maximized as we are cancelling the Maximize in TileStateChanging Event, However I want Tiles to Maximize but all my Tiles should be fixed size and should not allow user to change the size(width or Height) of a Tile.
I modified the sample I sent you before, so now it has the functionality you want. Basically I handled the TileStateChanging event and canceled it. As for your second requirement I added Style for the XamTile and used Triggers to hide the Minimized Tiles. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Stephen..couple of more little things..
1.Is there any property to stop resizing a Tile
2. Is there any way to not to show the minimized Tiles..like if one Tile is maximized then I don't want to show any other Tile on the Screen, so user has to minimize that Tile to view other Tiles?
Thanks..