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.
Thanks Alex,That's right. I meant:private void TileView_MaximizedStateChanging(object sender, TileStateChangingEventArgs e){ if (e.NewState == TileState.Normal) { e.Cancel = true; return; } ....}
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;
}
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
Hello,
Yes, you can remove this button by retemplating the XamWebTileView's Control Template.
We are shipping the default xaml styles for our Silverlight Controls in the DefaultStyles directory in the Infragistics folder and you can use them as a base.
Hope this helps.