Dragand Drop in WPF Tile View
Drag-and-Drop enables you to drag the TileViewItems in TileViewControl in a normal state. Once the TileViewItem is dragged, the other items in the TileViewControl moves to the corresponding positions in accordance to the dragging item. This can be enabled and disabled by using the AllowItemRepositioning property.
Adding Dragging Items to an Application
The Dragging items can be added to an application by using either XAML or C# code.
Adding through XAML
The following code example illustrates how to add the Dragging Items to an application through XAML.
<syncfusion:TileViewControl Name="tileViewCntrl" AllowItemRepositioning="True"/>
Adding through C#
The following code example illustrates how to add the Dragging Items to an application through C#.
tileViewCntrl.AllowItemRepositioning = true;
To view samples:
- Select Start -> Programs -> Syncfusion -> Essential Studio XX.X.X.XX -> Dashboard.
- Select Run Locally Installed Samples in WPF Button.
- Now expand the DragAndDropManagerDemo tree-view item in the Sample Browser.
- Choose any one of the samples listed under it to launch.