To achieve the desired result, you can handle the CommandExecuted
event of the RadImageEditor
and rotate the image if the command is of type OpenImageCommand
. Here's what I have in mind:
sender, EventArgs e)
var editorUi = sender
editorUi.ImageEditor.CommandExecuted += ImageEditor_CommandExecuted;
sender, Telerik.Windows.Media.Imaging.ImageEditorCommands.ImageCommandExecutedEventArgs e)
var editor = sender
Please let me know whether such an approach would work for you.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow
you to write beautiful native mobile apps using a single shared C# codebase.