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

Panning support in RadImageEditor

2 Answers 40 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Antony
Top achievements
Rank 1
Antony asked on 06 Feb 2017, 11:24 AM

Hi Team,

I have using R1 2017 telerik products and while using RadImageEditor, I need the feature of panning that you have used in your demos. And also found the documentation related to the same, please refer the below link.

http://docs.telerik.com/devtools/wpf/controls/radimageeditor/tools/panning

But IsPanningEnabled property is not working for me, could you please let me know to achieve this?

 

Regards,

Antony Raj

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 08 Feb 2017, 03:14 PM
Hi Antony,

Thank you for contacting us.

We can confirm that this is a bug and therefore we logged it in our Feedback Portal where you can track its progress. Basically, in your case, the IsPanningEnabled property internal logic is executed before the binding and the Image property is NULL. As a workaround, you can try subscribing to the loaded event of the control where you can set the IsPanningEnabled property to True.
public MainWindow()
{
    InitializeComponent();
    this.imageEditor.Loaded += ImageEditor_Loaded;
}
private void ImageEditor_Loaded(object sender, System.Windows.RoutedEventArgs e)
{
    this.imageEditor.IsPanningEnabled = true;
}

As a small appreciation, we have updated your Telerik Points for bringing this issue to our attention.

Regards,
Dinko
Telerik by Progress
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.
0
Antony
Top achievements
Rank 1
answered on 09 Feb 2017, 12:14 PM

Hi Dinko,

 

Thanks for the update, I will check and let you know the details ASAP.

 

Regards,

Antony Raj

Tags
ImageEditor
Asked by
Antony
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Antony
Top achievements
Rank 1
Share this question
or