I'd like to simulate something like how the sample app Avee on the SL demo page here: http://labs.infragistics.com/silverlight/lobsamples/2010.1/. Basically I want to make it so I can specify a template to use when all the tiles are shown (not sure what it's called, but the default "arranged windows" mode) and another when an item is maximized.
Been digging through the documentation but can't find the exact property I need to override...
Thought this would be one of the samples included in the download, but unfortunately I don't see it.
Hi,You can change a tile template in MaximizedStateChanging event-handler:
<
ig:XamWebTileView Name="xamWebTileView1" MaximizedStateChanging="xamWebTileView1_MaximizedStateChanging"TilePaneContentTemplate="{StaticResource NormalView}"> ...
private void xamWebTileView1_MaximizedStateChanging(object sender, TileStateChangingEventArgs e){ TilePane tile = e.Element as TilePane; switch (e.NewState) { case TileState.Maximized: tile.ContentTemplate = this.Resources["MaximizedView"] as DataTemplate; break; case TileState.Minimized: tile.ContentTemplate = this.Resources["MinimizedView"] as DataTemplate; break; case TileState.Normal: tile.ContentTemplate = this.Resources["NormalView"] as DataTemplate; break; }}Regards,Marin