Is there a way to hide or disable the max/restore/min button at the top right hand of the tile pane? The reason I'm inquiring about this is because I would like to always have one tile pane expanded and control the restore of the second via a button click and don't allow the user to minimize ether one of the tile panes.
Hi,Don't forget MaximizedStateChanging event. You can cancel any change according your application logic. This sample keeps always one tile in maximized state.private void TileView_MaximizedStateChanging(object sender, TileStateChangingEventArgs e){ if (e.NewState == TileState.Normal) return;}Marin
Marin & MrYang,
You might probably want to cancel this event rather than return, like this:
private void xamWebTileView1_MaximizedStateChanging(object sender, Infragistics.Silverlight.TileStateChangingEventArgs e)
{
if (e.NewState == TileState.Normal)
e.Cancel = true;
}
Thanks Alex,That's right. I meant:private void TileView_MaximizedStateChanging(object sender, TileStateChangingEventArgs e){ if (e.NewState == TileState.Normal) { e.Cancel = true; return; } ....}