Nov 16, 2007 at 5:24 AM
I added a zone workspace to the main WPF window in the shell exactly as shown in the WPFCAB solution showinng how to create workspaces. However, I simply haven't been able to get a reference to this workspace in a module so I can show a view on it. I have been trying to use the Controlled workItem derived from WorkItemController as in SCSF and see if I can use the ShowViewInWorkspace<TView>(string WorkspaceName) method. The Workspace simply does not exist in the ShellWorkItem. I am sure I am missing something. Any Ideas?
Nov 16, 2007 at 11:10 AM
Hi dc,

The workspace will only exist in your work item if the window is built up using object builder. If you create the window directly (or WPF creates it directly for you) then you are bypassing OB and the workspace won't be automatically recognized and added into the work item.