I've been struggling with this issue for days and thought I would post my findings in case
anyone else runs into this. I have a RadImageEditorUI that I named "ImageEditor".
When an image was loaded into the control, all the ImageTools were disabled. I assume this
is due to the RadImageEditorUI having a property named "ImageEditor" as well and is conflicting
with the name of my control. Once I renamed the control, the tools worked fine.
anyone else runs into this. I have a RadImageEditorUI that I named "ImageEditor".
When an image was loaded into the control, all the ImageTools were disabled. I assume this
is due to the RadImageEditorUI having a property named "ImageEditor" as well and is conflicting
with the name of my control. Once I renamed the control, the tools worked fine.
<
telerik:RadImageEditorUI
x:Name
=
"ImageEditor"
IsOpenButtonVisible
=
"False"
>
<
telerik:RadImageEditorUI.ImageToolsSections
>
<
telerik:ImageToolsSection
>
<
telerik:ImageToolItem
ImageKey
=
"Rotate90CW"
Text
=
"Rotate 90"
Command
=
"commands:ImageEditorRoutedCommands.Rotate90Clockwise"
/>
<
telerik:ImageToolItem
ImageKey
=
"Rotate180CW"
Text
=
"Rotate 180"
Command
=
"commands:ImageEditorRoutedCommands.Rotate180"
/>
<
telerik:ImageToolItem
ImageKey
=
"Rotate90CCW"
Text
=
"Rotate 270"
Command
=
"commands:ImageEditorRoutedCommands.Rotate90Counterclockwise"
/>
<
telerik:ImageToolItem
ImageKey
=
"FlipHorizontal"
Text
=
"Flip Horizontal"
Command
=
"commands:ImageEditorRoutedCommands.FlipHorizontal"
/>
<
telerik:ImageToolItem
ImageKey
=
"FlipVertical"
Text
=
"Flip Vertical"
Command
=
"commands:ImageEditorRoutedCommands.FlipVertical"
/>
</
telerik:ImageToolsSection
>
</
telerik:RadImageEditorUI.ImageToolsSections
>
</
telerik:RadImageEditorUI
>