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

Radwindow on Canvas

1 Answer 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 21 Oct 2010, 09:04 PM

Hi

I've got a number of RadWindows that I'm adding to a Canvas which works fine - I'm now trying to add scroll bars to the canvas so that I can view any windows that are off screen but the RadWindows seem to sit above all other controls (including the scroll bars).

Is there a way around this so that the RadWindow can 'belong' to the Canvas?

Thanks

Tim

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 26 Oct 2010, 10:05 AM
Hello Tim,

The RadWindow control is not meant to be placed inside the layout - it should be used as a root tag only (like shown in our online examples). Anyway, when the window is shown it is not in the layout anymore, so it cannot be placed inside a Canvas and because of this it cannot be restricted to it.

The IsRestricted property restricts the Window to the Silverlight application, but it can be customized - there is a RestrictedAreaMargin property that is of type thickness and describes the restricted are using a margin from the Silverlight plugin.
You can use the RestrictedAreaMargin property to set a margin that will limit the Maximized position of RadWindow. It will also affect the dragging of the RadWindow since the control will be restricted to the margin. To turn on and off this feature you should use the IsRestricted property.

Hope this information helps. If you have any other inquiries please let us know.

Greetings,

Konstantina
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
Tags
Window
Asked by
Tim
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or