MouseDoubleClick not firing when in headerfooterediting mode

2 posts, 0 answers
  1. Jason
    Jason avatar
    3 posts
    Member since:
    Apr 2014

    Posted 03 Apr 2014 Link to this post

    Hi there,

    When editing a document with the RadRichTextBox, when i am in header/footer mode (editor.ToggleHeaderFooterEditingMode()) when i mouse double click / or just single mouse click inside the region in pointed to by the red arrow in the screenshot, the mousedoubleclick /mousedown event is not fired.

    I have wired up event handlers for my radrichtextbox control:
        editor.MouseDown += editor_MouseDown;
        editor.MouseDoubleClick += editor_MouseDoubleClick;

    I am led to believe its not the editor control that handles those events when double clicking in the header/footer area. Is there another object in the editor control responsible for handling these mouse events? When i double click inside a document i get the mousedoubleclick event handler firing fine. If I'm right, what is the object ? if not, what am i doing wrong?

    Many thanks,
    J
  2. Yancho
    Admin
    Yancho avatar
    72 posts

    Posted 08 Apr 2014 Link to this post

    Hi Jason,

    Thank you for contacting us!

    Mouse events have specific behavior in the context of RadRichTextBox as they are used to determine the state of the selection in the control. Changing the behavior might cause issues and subscribing to the events is not always the recommended way to achieve certain behavior.

    Could you please share more details about your scenario? What kind of modification are you going to do? This would be the fastest way to try to provide a solution for your desired scenario.

    I am looking forward to your reply.

    Regards,
    Yancho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top