Radwindow on Canvas

2 posts, 0 answers
  1. Tim
    Tim avatar
    1 posts
    Member since:
    Jun 2010

    Posted 21 Oct 2010 Link to this post


    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?



  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 26 Oct 2010 Link to this post

    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.


    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
Back to Top