Hi,
I am trying to Initially create RadPane from code behind and set RadPane property to MakeFloatingOnly() and after that back to MakeDockable().
but I learnt that MakeFloatingOnly() removes the RadPane from the RadPaneGroup, so it's not working for me !!!!!.
Is there a workaround for this situation?
Regards,
Chinmaya
I am trying to Initially create RadPane from code behind and set RadPane property to MakeFloatingOnly() and after that back to MakeDockable().
but I learnt that MakeFloatingOnly() removes the RadPane from the RadPaneGroup, so it's not working for me !!!!!.
Is there a workaround for this situation?
Regards,
Chinmaya
4 Answers, 1 is accepted
0
Hi Chinmaya,
The MakeFloatingOnly method of RadPane is used to make the pane floating programmatically. However, if that method is used the pane could not be docked back again using drag and drop. In order to make it dockable again the MakeDockable method should be used.
If you want to programmatically dock a RadPane (ToolWindow) to a group first it should be removed from its current parent and then add it to the RadPaneGroup's Items collection:
Please, check the following article from our help documentation that provides more detailed information about the described above methods and approach:
http://docs.telerik.com/devtools/wpf/controls/raddocking/features/panes/docked-floating-panes
Hopes this will help you.
Regards,
Nasko
Telerik
The MakeFloatingOnly method of RadPane is used to make the pane floating programmatically. However, if that method is used the pane could not be docked back again using drag and drop. In order to make it dockable again the MakeDockable method should be used.
If you want to programmatically dock a RadPane (ToolWindow) to a group first it should be removed from its current parent and then add it to the RadPaneGroup's Items collection:
radPane.RemoveFromParent();
radPaneGroup.Items.Add( radPane );
Please, check the following article from our help documentation that provides more detailed information about the described above methods and approach:
http://docs.telerik.com/devtools/wpf/controls/raddocking/features/panes/docked-floating-panes
Hopes this will help you.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Chinmaya
Top achievements
Rank 1
answered on 12 Dec 2014, 03:37 PM
Hi Nasko,
Thank you for your reply, but it is still not clear to how can I get the reference of the panes (ToolWindow) which are created as MakeFloatingOnly. To add it back to radPaneGroup.
Thanks in advance!
Chinmaya
Thank you for your reply, but it is still not clear to how can I get the reference of the panes (ToolWindow) which are created as MakeFloatingOnly. To add it back to radPaneGroup.
Thanks in advance!
Chinmaya
0
Hi Chinmaya,
From the provided details we assume that you want to dock the panes that are floating but not dockable. Please, check the sample project we are sending you that demonstrates how to achieve that approach. However, if that's not case could you please provide us some more information about your scenario in order to provide you with a prompt solution.
Hopes this helps.
Regards,
Nasko
Telerik
From the provided details we assume that you want to dock the panes that are floating but not dockable. Please, check the sample project we are sending you that demonstrates how to achieve that approach. However, if that's not case could you please provide us some more information about your scenario in order to provide you with a prompt solution.
Hopes this helps.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Chinmaya
Top achievements
Rank 1
answered on 16 Dec 2014, 03:57 PM
Hi Nasko,
Thank you for the example project, that's exactly what I was looking for.
Regards,
Chinmaya
Thank you for the example project, that's exactly what I was looking for.
Regards,
Chinmaya