When using the TilePanel control and all the tiles get repositioned to the side because you have selected one to display as a large tile, I was wondering is there a property to set how wide the section of the TilePanel where all the small tiles display?
Troy
You can set the bounds of the panel containing the tiles in normal state.
private void ultraTilePanel1_TileStateChanged(object sender, TileStateChangedEventArgs e)
{
ultraTilePanel1.TileContainerNormal.SetBounds(0, 0, 100, 300);
}
(This is just an example, you would need to set the coordinates according to your needs)
Let me know if this is helpful or if there are any further questions.
Best Regards,
Stefaniya
Thanks for the reply.
I don't see TileContainerNormal as being a property of the ultraTilePanel control.
Nevermind just realized it is a property, it just doesn't appear in the intellisense list.
Hi,
Excuse me for that. It appears in the intellisense list of my vs.
Let me know if this works for you.
Regards,
That's not doing what I want. It does make the large pane smaller (seen by the grey area on the right side of the screen shot below, I currently have is set to 80% of screen width). What I would like to happen now is the list of small panels on the right side to be larger using the grey space on the right side.
I am not sure about your scenario, but you can try to set the non-enlarged tiles’ sizes in the ultraTilePanel1_TileStateChanging event. Something like this, where you can specify how wide will be the left in normal state tiles:
private void ultraTilePanel1_TileStateChanging(object sender, TileStateChangingEventArgs e)
if (e.NewState == TileState.Large)
foreach (UltraTile tile in ultraTilePanel1.Tiles)
if (tile != e.Tile)
tile.Settings.MaximumSize = new Size(250, 50);
Else
//restore the sizes to get the desired look
We currently do not support this functionality. If you want you may submit a feature request for this event on the link below : http://devcenter.infragistics.com/protected/requestfeature.aspx
I have the exact same request ... I would expect that if I set a maximumsize on one tile the other tiles would auto-resize to the maximum available size ...
Thanks,
Wim
I have created the following support ticket for you:CAS-49758-1WHWG8. I will update you there and here.
OK, thanks. Should I open a ticket for this?
You can set ultraTilePanel1.MinimumTileSize to Size(500, 500) for the sample you have attached. This will cause tiles minimum size regardless the state to be 500x500. However, this will not cause the ultraTilePanel1.TileContainerNormal to be resized, but there will appear scrollbars. I will forward your question to our developers.