Hi,
I have 4 UltraTilies on a UltraPanel in a Form. Based on the user selection can these tiles be rearranged from their position?
for eg, on form load the Ultratiles appear in the order of UltraTile1, UltraTile2, UltraTile3 and UltraTile4. Now if the user clicks on some button an dwants to rearrange the positions to UltraTile3, UltraTile2, UltraTile4 and UltraTile1, is this possible at runtime?
Attached is the image. Please help.
Hello Baba,
If you know the order in which you want to rearrange the Tiles upon button click then it can be done simply by removing and inserting the tiles at the required index. For example, you can use the RemoveAt and Insert methods of the UltraTilePanel Tiles collection to implement this.
Let me know if I may be of further assistance.
Thank you Sahaja.
The order of rearranging the tiles is not known until runtime, in the sense, its the users choice. I have a List box which has list of Tiles names. Now the user can change the order of Tiles as per his needs.
For eaxmple.
Below ListBox has four tile names in the below order on form load which map to the Tile names in the main form.
Tile1
Tile2
Tile3
Tile4
Now the user wishes to change the order in the Listbox say using some UP/Down arrow butons as below and hits on apply button.
Now all my tiles in the main window should be rearranged accordingly.