How to reorder the items within a ToolBar with Drag&Drop

3 posts, 0 answers
  1. Ivan
    Ivan avatar
    43 posts
    Member since:
    Nov 2013

    Posted 02 Jan 2014 Link to this post

    Hello,

    i have only one ToolBar in my View and some items in it. The task is to reorder the items with Drag&Drop function.
    Unfortunately i can not found a attribute of RadToolBar to implement it. With telerik DragDropManager works the ToolBar-reorder neither.

    Have i missed something or it is no easy to implement it?

    Any help will be thankful.

    Ivan
  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 03 Jan 2014 Link to this post

    Hi Yifan,

    Unfortunately, the RadToolBar doesn't support drag and drop reordering of its items out of the box. However, you can accomplish drag and drop by using the DragDropManager as you mentioned earlier.

    I attached a sample project to demonstrate a basic implementation.

    I hope this could be a good starting point.

    Regards,
    Martin Ivanov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ivan
    Ivan avatar
    43 posts
    Member since:
    Nov 2013

    Posted 03 Jan 2014 Link to this post

    Hi Martin,

    thanks for your answer. That looks fine. I will try it in my project. Thanks a lot !

    Regards,
    Ivan
Back to Top