Mouse down event and RadWindow

2 posts, 1 answers
  1. Anatoly Chekh
    Anatoly Chekh avatar
    86 posts
    Member since:
    Apr 2010

    Posted 29 Jul 2011 Link to this post


    I have a question.
    This is our scenario:

    1. We open a rad window.
    2. In the content we have TextBlock. We add LeftMouseDown event on it. We want to open another rad window by this event.
    3. Another window is opened. But after this first rad window is activated again. (I think by mouse down this window is activated).

    So new window is shown under first. And as both window is modal - we cannot get access to the second window.

    It reproduced even If I set Handled to the MouseEvent.

    So the question is - how get I open another window by LeftMouseDownEvent?

    Thanks, Anatoly Chekh.
  2. Answer
    Ivo avatar
    390 posts

    Posted 01 Aug 2011 Link to this post

    Hello Anatoly,

    Most actions in Silverlight fire on the MouseLeftButtonUp event. Using this event will work great for you. However, if you want to use the MouseLeftButtonDown, here is a possible workaround:

    new Action(() =>
        RadWindow window = new RadWindow();

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
Back to Top