This is a migrated thread and some comments may be shown as answers.

RadPane overlaps other windows when slides out.

1 Answer 50 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Nitin
Top achievements
Rank 1
Nitin asked on 24 Nov 2010, 10:21 AM
Hi,

When a RadPane is in autohide state and we take mouse pointer over the autohide area, it slides out and overlaps other windows.
It happens even when our application is not active, and some other application is active. I think it is heppening just because RadPane is hosted inside FakePopupWindow and when it slides out and it remains always on Top.

I want that when application is inactive and I take mouse over the autohide area, it should not slides out the RadPane.
Please look into the problem and suggest me some effective solution.

I have attached the screenshot of the scenario.

1 Answer, 1 is accepted

Sort by
0
Nitin
Top achievements
Rank 1
answered on 24 Nov 2010, 11:40 AM
Hi,

I have solve this problem on my own using following code.

var

 

 

autoHideAreas = radDocking.ChildrenOfType<AutoHideArea>();

 

 

 

foreach (AutoHideArea autoHideArea in autoHideAreas)

 

{

 

 

    Popup popup = autoHideArea.FindChildByType<Popup>();

 

    popup.Opened += (s, eargs) =>

    {

 

 

        if (this.IsActive == false)

 

        popup.IsOpen =

 

false;

 

    };

}

Tags
Docking
Asked by
Nitin
Top achievements
Rank 1
Answers by
Nitin
Top achievements
Rank 1
Share this question
or