Hello everybody,
I need to hide the "enlarge button" in the header area of a UltraTilePanel.
With the "close button x" this can be done easily,
this.RecTilePanel.TileSettings.ShowCloseButton = Infragistics.Win.DefaultableBoolean.False;
but for the "enlarge button" there is no such property.
Has anyone an idea how this can be done?
Thank you very much indeed!
Regards,
oxygenating
Hello Oxygenating,
I made a sample application to test this out, and here is what I found:
1. When the state of the tiles do not change from initialization, both the global and local settings work.
2. After changing the state of one of the tiles (for example, enlarging the first tile), the global settings (this.RecTilePanel.TileSettings...) do not work, but local settings (this.UltraTile1.Settings...) work.
I have attached a project that reproduces this issue.
It looks like Developer Support has already created a case for you, so I will discuss it with them and with development to see if this is a bug in our controls.
As a workaround, I would recommend setting the ShowStateChangeButton property on the visible tile, as I found that the local settings worked after the tile's state changed.
Elizabeth AlbertLocalization Engineer
Dear Mrs. Elizabeth Albert,
Thank you very much for your quick answer.
I have tried in the past setting the ShowStateChangeButton to false, but the "enlarge button" was still visible.
this.RecTilePanel.TileSettings.ShowStateChangeButton = Infragistics.Win.DefaultableBoolean.False;
Also if I do both, disable the AppStyling and set ShowStateChangeButton to false
//this.InitializeAppStyling();
the "enlarge button" is still visible.
Is there maybe another setting or condition which prevents the hiding of the enlarge button?
Regards
Oxygenating
Hello oxygenating,
Set the ShowStateChangeButton property to False.