Hi,
I have application in which i have TabControl. In each tab, i have a XamDockManager. When changing from one tab to other tab , if the current tab has any ContentPane as floating window it has to be docked with the control (Before navigating to the new tab). I can't find a way to change PaneLocation of ContentPane. Is there any ways to do it ?
Thanks
HI Andrew
It works fine.
Kumaran Vellaisamy
You may want to refer to this post. Well if the pane is in the Floating state and has been docked previously then you can call the ExecuteCommand method on the pane with ContentPaneCommands.ToggleDockedState as the command. If the pane is FloatingOnly but has been docked then you can use the ChangeToDockable command and then use the ToggleDockedState command. If the pane was never docked then you will need to programatically remove it from its parent (i.e. removing it from the TabGroupPane's Items or the SplitPane's Panes collection) and then add it to a SplitPane or TabGroupPane that is docked within the XamDockManager.