Completed
Last Updated: 10 May 2016 12:39 by ADMIN
ADMIN
Telerik Admin
Created on: 14 Aug 2013 13:48
Category: Window
Type: Feature Request
7
Make it possible to be able to drag the Window not only from its Header
Make it possible to be able to drag the Window not only from its Header. In some cases it is useful to be able to drag the RadWindow from within its content.
1 comment
ADMIN
Georgi
Posted on: 10 May 2016 12:38
This can be achieved by hooking to the MouseDown event and calling the parent Window DragMove method:

 private void OnRadWindowMouseDown(object sender, MouseButtonEventArgs e)
        {
            if (e.ChangedButton == MouseButton.Left)
            {
                var window = sender as RadWindow;
                window.ParentOfType<Window>().DragMove();
            }
        }