when drag a RadPane under of system toolbar,then can't drag it back

2 posts, 0 answers
  1. rui
    rui avatar
    78 posts
    Member since:
    May 2014

    Posted 29 Sep 2017 Link to this post

    when drag a RadPane outside the system  toolbar,then can't drag it back , If iwant to edit the radpane  i must reopen mainwindow

    Is any method to prevent dragging outside  the system toolbar?


  2. Dilyan Traykov
    Dilyan Traykov avatar
    1074 posts

    Posted 03 Oct 2017 Link to this post

    Hello rui,

    I have two suggestions on how to avoid this undesired behavior:

    1) Create an implicit style targeting the ToolWindow control and set the IsTopmost property to True. This way the windows will stay on top of the toolbar and you will be able to drag them back.

    <Style TargetType="telerik:ToolWindow" BasedOn="{StaticResource ToolWindowStyle}">
        <Setter Property="IsTopmost" Value="True" />

    2) Set the IsRestricted property of the RadDocking control which controls whether the ToolWindows of the Docking control are restricted to the Restricted area of the control.

    <telerik:RadDocking IsRestricted="True">
        <!-- ... -->

    Please let me know if any of these approaches works for you.

    Dilyan Traykov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top