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

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

1 Answer 55 Views
Docking
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 30 Sep 2017, 04:43 AM

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?

 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 03 Oct 2017, 12:51 PM
Hello ,

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" />
</Style>

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">
    <!-- ... -->
</telerik:RadDocking>

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

Regards,
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 you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Docking
Asked by
rui
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or