Panning support in RadImageEditor

3 posts, 0 answers
  1. Antony
    Antony avatar
    13 posts
    Member since:
    May 2014

    Posted 06 Feb Link to this post

    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. Dinko
    Admin
    Dinko avatar
    318 posts

    Posted 08 Feb Link to this post

    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.
  3. Antony
    Antony avatar
    13 posts
    Member since:
    May 2014

    Posted 09 Feb Link to this post

    Hi Dinko,

     

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

     

    Regards,

    Antony Raj

Back to Top