DrawTextTool Behavior

2 posts, 0 answers
  1. Luke Daugherty
    Luke Daugherty avatar
    19 posts
    Member since:
    Jun 2011

    Posted 11 Feb 2015 Link to this post

    This tool behaves very different then other tools that popup a control. The others open and close on multiple clicks\commands. This one opens up many on top of each other, and can lead to overlapping text if you change it in multiple DrawTextTool's that were opened. Only way to close it appears to be to execute another command. And only way to clear text is to use Undo (unless the text is from the latest DrawTextTool opened).

    Anyways, it seems some greater control over what is going on here would be nice. The documentation is also non-existent as far as I can tell. I see the tool in a screenshot located in the ImageEditor doc, but no actual mention of it or how to properly use it.
  2. Tanya
    Tanya avatar
    891 posts

    Posted 13 Feb 2015 Link to this post

    Hi Luke,

    Thank you for your feedback, we really appreciate it.

    Indeed, by default RadImageEditor's tools are committed when you change the tool. Actually, I tested some other image editing components and they behave in a similar manner, but nevertheless we will discuss your request.

    In fact, there are extensibility points that allow you to control the behavior when committing one of the tools. Please take a look at the Events article and the ToolCommitted/ToolCommitting events in particular. There is also an example of how to use that in our SDK Repository.

    Regarding the documentation, we are doing our best to keep it full and up to date and will consider adding information about this specific tool.

    Let me know if I can assist you with anything else.


    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.

Back to Top