Custom ITool within ImageEditor

2 posts, 0 answers
  1. Traci
    Traci avatar
    1 posts
    Member since:
    May 2014

    Posted 16 Dec 2014 Link to this post

    So I created a custom Itool that is implemented within the ImageEditor. When you attach a tool any other tool that was attached becomes Detached. I need to have the ability to  have multiple tools attached to the Image Editor at the same time.. so the user could see multiple Rectangles around areas of the image ,as my tool is similar to the crop tool but does not crop my image, at the same time. They would be distinguished by there color and if they have the ability to change the size via the mouse. so if 2 were up andthe user moused down within 1 of them that tool would be come the active tool and the user could modify it.

    So when I try to attach another instance of my tool the first one becomes detached. there must be a way to override this behavior?

    Any help is greatly appreciated.

    -Traci
  2. Todor
    Admin
    Todor avatar
    168 posts

    Posted 17 Dec 2014 Link to this post

    Hello Traci,

    The RadImageEditor is not designed to enable the usage of multiple tools at the same time. This is why there isn't an out-of-the-box way to achieve that. 

    However, you can change your custom tool in a way to display multiple rectangles as you desire, and implement the behavior you want to achieve further. 

    Regards,
    Todor
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top