Hello,
We are using the XamDockManager for our application. If we drag multiple tabs from the XamDockManager to a window the tabs appear on the bottom of the screen. We would like this to be on top of the screen like the main window.
Is this possible?
Kind regards
When you float a pane the Dock Manager fires the ToolWindowLoaded event. You can handle this event to and add a style to the new Tool Window’s Resources which sets the TabStripPlacement property to Top for the TabGroupPane. This will add the Tabs at the top of the Tab Group Pane when it is created.
See attached sample.
Let me know if you have any questions.
Sincerely,
Valerie
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
The solution you suggested works.
However wa applied a controltemplate to the tabs and we would like this to be applied. (It also puts the tabs on top).
We've tried to copy the resourcedictionary using the following code:
private void MainDockMagager_ToolWindowLoaded(object sender, Infragistics.Windows.DockManager.Events.PaneToolWindowEventArgs e) { e.Window.Resources = this.Resources.MergedDictionaries[0]; }
The resources seem to be copied but not applied to the tabs, but do get applied for the content.