We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Rearranging Tiles programmatically

I am adding tiles to a tile view grid via a background worker and finding that the tiles are not being added in the order I am expecting them to.

The first adds to the left:   
Result:     1
The second adds to the right of the first:   
Result:    1-2
The third adds to the right of the first, but left of the second:
Result:   1-3-2

I would like it to add directly to the last sequential spot if possible.

I am desiring that the order of the tiles appear initially in the order that I add them to the view control.  The user should still be able to re-organize these tiles "after" I have added them, but I want all "added" tiles to appear at the end of the list.

How can I get this to happen either by adding them directly to the end or being able to programmatically sort them to the right locations.


- David

2 Replies

DL David L. Majors October 19, 2016 11:56 AM UTC

Just to clarify, I would like tile 3 to be added to the right of 2 and then tile 4 to be added to the right of 3, etc.  Multiple lines will shift the perspective, but I would still want them to be organized top left to bottom right.

Additionally, how can I determine the actual order if the user rearranges?

AK Ashok Kumar Murugesan Syncfusion Team October 20, 2016 01:50 PM UTC

Hi David,

Thank you for contacting Syncfusion Support.

We have prepared a sample using TileViewControl to insert items at specific index. In the sample, we have inserted items at the first, second and last positions of the collection and you can download it from the following link:


When an item is added to the collection using Add method, new TileViewItem will be added at the end of the list. You can use Insert method to add items at specific index. Similarly, items can be rearranged by removing and inserting them at specific index. TileViewItems order is similar to the items order in ViewModel collection, so you can use it to determine actual order if the user rearranges.

Please let us know more details about your requirement if we have misunderstood your query.

Ashok Kumar M.

Live Chat Icon For mobile
Up arrow icon