This is a migrated thread and some comments may be shown as answers.

Drag to a "new" Group + TilePosition

1 Answer 106 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 29 Oct 2018, 03:15 PM

I am attempting to mimic the Windows 10 behavior where dragging a tile to an "empty" area automatically creates a new group. Since "Group" is implemented as a "property path" in the RadTileList I am not seeing an obvious way to implement this functionality.

Should I create a new ContentControl that has special "Drop" functionality that creates a new group? Or is there a better option using the TileList itself?

On the same project I am attempting to "save" the position of Tiles across sessions, is there a "TilePosition" property that I am just not finding such that I can save the position of specific tiles or is the position of the tiles dictated by the order of the items in bound ObservableCollection?

Cheers!

Jason

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 01 Nov 2018, 10:02 AM
Hello Jason,

The RadTileList control does not support such behavior out of the box. What you could try is to create a custom class which inherits TileListGroupPanel and implements custom logic which handles the cases when the dragged Tile is dropped on an empty space.

Regarding your second question. To get or set the position of Tile in a group you can use the DisplayIndex property.

Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TileList
Asked by
Jason
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or