Hi
How can I add I UserControl or a Page to a DocumentHost to a xamdockmanager. So that I can open UserControl or page in the dock?
Hello Thomas,
You can add a user control by simply adding it to the content section of your content pane within the DocumentContentHost like so.
<Grid Name="layoutRoot"> <igDock:XamDockManager> <igDock:DocumentContentHost> <igDock:SplitPane> <igDock:TabGroupPane> <igDock:ContentPane Header="TextBox"> <TextBox /> </igDock:ContentPane> <igDock:ContentPane Header="user control"> <local:MyUserControl /> </igDock:ContentPane> </igDock:TabGroupPane> </igDock:SplitPane> </igDock:DocumentContentHost> </igDock:XamDockManager> </Grid>
Regards.
Nicholas