Question about drag and drop

Thread is closed for posting
1 posts, 0 answers
  1. 6FE3EF3C-9E72-474F-BAC7-58ED9B14A5FC
    6FE3EF3C-9E72-474F-BAC7-58ED9B14A5FC avatar
    33 posts
    Member since:
    Oct 2009

    Posted 05 Oct 2009 Link to this post

    Requirements

    RadControls version 2009.2.812.1030

    .NET version 3.5

    Visual Studio version VS 2008

    programming language C#

    browser support IE8, FireFox 3.5

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    Silverlight 3 project.
    We have a RadTabControl on our page.  The contents of the tab control include objects on a canvas.  The page registers drag and drop event handlers, for example:
                RadDragAndDropManager.AddDragQueryHandler(this, OnDragQuery);
    The objects (a Rectangle, for example) are registered to allow Drag and Drop:
                RadDragAndDropManager.SetAllowDrag(Rect, true);
    How can we get mouse events at the Canvas level?  We would like to allow the user to pan the view by dragging the canvas.  Similarly, we would like to use mouse wheel events.  We have registered the necessary event handlers, but LButtonDown, MouseMove, and MouseWheel events don't reach the Canvas.
    Thanks for any ideas...
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.