Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
Re-arrange the UltraTile at runtime
posted

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.

Parents
  • 6120
    Offline posted

    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.

Reply Children