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.
Hi,
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
Let me know if this works for you.
Regards,
No matter what I do I can not get the small panes to be wider then the default.
Can you upload a small sample representing what you have achieved up to now and maybe an image showing what you want to achieve and I will be glad to check it. If you cannot upload your project here, I can open a support ticket where you can submit your details.
I have uploaded a small test app with a tilepanel control. What I need to control is the amount of screen that the large pane takes vs the area on the right hand side that shows the list of small panes. I'm trying to have the right side of small panes take up more screen width so that although the panes are on the right side of the screen are in a small state they will be large enough to be useable by the user.
Hope this makes sense.
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.