This is a migrated thread and some comments may be shown as answers.

how to custom resize tool and tool settings

3 Answers 114 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Ye
Top achievements
Rank 1
Ye asked on 03 Apr 2013, 06:39 AM
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. 

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 05 Apr 2013, 01:17 PM
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.

0
Ye
Top achievements
Rank 1
answered on 05 Apr 2013, 02:06 PM
hi,

this is great help.

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

see the image i attached.


0
Petya
Telerik team
answered on 10 Apr 2013, 10:26 AM
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.

Tags
ImageEditor
Asked by
Ye
Top achievements
Rank 1
Answers by
Petya
Telerik team
Ye
Top achievements
Rank 1
Share this question
or