Telerik blogs

Using RadControls can boost the development process, using bunch of built-in features. However, sometimes we encountered scenarios where we need something very specific. In addition, we do want to make our custom logic encapsulated and easy reusable.  So,when this is the case,using behaviors is our best choice. In this blog I will show small example how to use the behavior power to enable row reorder functionality.

 sample

 

In order to enable drag and drop functionality, it simply uses our RadDragAndDropManager, giving us simple solution for the drag/drop functionality. So in order to use it and customize it we can even go the Blend And not write a line of code:

DragBlend

 

And since its settings are exposed as Dependency Properties one can customize it directly from the properties window:

Properties

 

The archive includes Silverlight  sample project, however it can be easily converted for WPF usage. Hope you'll enjoy it.

SL.RowReorder

Update: Please check the WPF version here - WPF.RowReorder

 

Update 2: In addition you can check the version that enables auto scrolling while dragging items in Silverlight - SL.RowReorder.AutoScroll


About the Author

Tsvyatko Konov

Tsvyatko Konov was the Lead of UI for Xamarin and UI for UWP team.

Related Posts

Comments

Comments are disabled in preview mode.