how to custom resize tool and tool settings

4 posts, 0 answers
  1. Ye
    Ye avatar
    25 posts
    Member since:
    Aug 2012

    Posted 03 Apr 2013 Link to this post

    hi,

    i notice that RadImageEditor has a ToolSettingsPanel that used for container to hold the settings panel when a relative tool are executed.

    i wonder how can i custom the resize tool, and crop tool that i can define own properties. that like  default size, 1024*768.

    or default resolution, 16:9.
     
    and some other options on the settings pane, like template and other controls.

    i saw that Resize tools do not have a xaml template define what it should look and where i can modify this?

    could you give me a simple example that when executing Resize tool, the setting panel has a combo box that user can choose a pre-define size,and resize the image accordingly.

    thank you in advance. 
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 05 Apr 2013 Link to this post

    Hello,

    In order to achieve the desired result, you'd have to implement custom tools.

    I suggest you take a look at this SDK example to see how custom tools should be implemented, along with its tool settings.  I am also attaching a sample project demonstrating how you can implement a custom crop tool which is built using the implementation of the default tool.

    I hope this will be helpful!
     
    Kind regards,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Ye
    Ye avatar
    25 posts
    Member since:
    Aug 2012

    Posted 05 Apr 2013 Link to this post

    hi,

    this is great help.

    but i want to custom the settingspanel, how to do it?

    see the image i attached.


  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 10 Apr 2013 Link to this post

    Hello,

    The SDK example I referenced in my previous reply demonstrates how you can build tool settings from scratch and show them when the respective tool is invoked. In case you face any particular issues with implementing this, please get back to us and we will gladly help you.

    Regards,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top