Window should detect the browser boundary. Otherwise user can drag it out of broswer. After release mouse, user can't drag the window back.
3 Answers, 1 is accepted
0
Accepted
Boyan
Telerik team
answered on 27 Apr 2011, 02:36 PM
Hello yjh,
You can set IsRestricted property of the RadWindow to true. This will restrict moving the window only in the browser area. You can further set RestrictedMargin if you want to restrict the RadWindow in a smaller area. Hope this helps.
Greetings,
Boyan
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
Sorry, I didn't notice IsRestricted property, it is good now.
But I find that when maximize RadWindow, the left and right border out of the browser even set IsRestricted to true.
if set RestrictedMargin to new Thickness(5,0,5,0), RadWindow seems to be cut off left and right side.
0
Accepted
Boyan
Telerik team
answered on 02 May 2011, 09:16 AM
Hi yjh,
This behavior is by design. When you maximize the RadWindow the right and left borders disappear. It is exactly the same as in Windows explorer. Only Windows 7 them keeps the borders by default. If you want to keep the borders you have to edit the template of the RadWindow.
All the best,
Boyan
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items