Hi,
How can i get the PanelLocation (mean DockedRight, DockedBottom like..) when the
pane is UnPinned state.
I have to store the DockedLocation and Pinned state (without using savelayout). Now i have the
ContentPane instance with me. So throgh the contentPane i have to take the panel location.
I tried the following
PanelLocation pl = XamDockManager.GetPanelLocation(myContentpane);
Unfortunately its returned Unpinned. ok. How to get the location?
Regards,
Ramesh.P
Currently there is no property that returns the PaneLocation of what the pane would be if it were pinned. You will probably need to store this information before the pane is unpinned - e.g. in the CommandExecuting event of the ContentPane when the command is ContentPaneCommands.TogglePinnedState.