I need to create tiles which allow only expanding and collapsing. When expanded tile should push the tile below it down and when collapsed it should stack them.
I do not want it to do the weird carousel kind of maximize,
See attached picture.
Any suggestion or sample.
Thank you for your post. I have been looking into your question and I can suggest you add a button ‘Expand/Collapse’ in the tiles’ header by re-templating and set the ‘MaximizedTileLimit’ to “0”. You can find the default template for the XamTileManager in :
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\WPF\DefaultStyles\TileManager\generic.shared.xaml
I am attaching a sample application(TileMaganerExpandCollapse.zip) that shows a possible decision.
If you need any further assistance on this matter, feel free to ask.
I am just checking if you require any further assistance on the matter.
I am looking for similar kind of requirement and I looked into the sample code you have provided.
In App.xaml there has been some sort of templating and styling has been done and XamTileManager control has been used ,
But can you please explain a bit more that what all has been done within App.xaml file this would be of great help.
Also, can I modify this code as per MVVM and in that case where I can place the code which is there in App.xaml.cs and App.xaml files within my project?
I want to add one more functionality to this - I want just 1 Tile to be exanded at once, if suppose first tile is exapnded than all other tiles should get collapsed, how can I achieve this?
Also, can I modify this code as per MVVM framework?