Hi,
we have the following problem with the XamDockManger: If we using commands in our menu and use controls in the XamDockManager who bind the commands so the commands can not execute if the controls are floating.
Here an example:
<DockPanel>
<my:XamRibbon DockPanel.Dock="Top"><my:RibbonTabItem Header="Start"><my:RibbonGroup Caption="Group"><my:ButtonTool Caption="Copy" Command="Copy"/><my:ButtonTool Caption="Cut" Command="Cut"/><my:ButtonTool Caption="Paste" Command="Paste"/></my:RibbonGroup></my:RibbonTabItem></my:XamRibbon>
<igDock:XamDockManager Theme="Aero"><igDock:XamDockManager.Panes><igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft"><igDock:ContentPane x:Name="leftEdgeDock" Header="Left Edge Dock Pane"><TextBox/></igDock:ContentPane></igDock:SplitPane></igDock:XamDockManager.Panes></igDock:XamDockManager>
</DockPanel>
What can we do?
Assuming this is the same problem, there is the ToolWindow solution: http://forums.infragistics.com/forums/p/33432/227844.aspx
However a recent several release for several versions of NetAdvantage supports this without using the ToolWindow. I've tested it and it works great.
Sorry, I try it but it dosen't work :-(
I copy the code in my MainWindow class and set the ToolWIndowLoaded Event (ToolWIndowLoaded = " OnToolWindowLoaded"). If the TextBox floated the menu buttons are disabled.
What's wrong?
Did you write the rest of the code? If I recall correctly, Andrew's sample code work with little modifications for me.
Or alternatively, just upgrade your library and forget about ToolWindow?
About which version you are talking about to be installed..? Currently I have v9.2 (9.2.20092.2094) installed and I am facing following problem.
If Pinned state of ContentPane changes I experienced that loaded event of all controls in it (UserControl and its child control) gets fired. This thing resets the settings I applied in the loaded event of Usercontrol and its child control.
Why Loaded event of each contol in ContentPane gets fired on Pinned State change..?
If this is a bug then in which version it is resolved..? I am using v9.2 (9.2.20092.2094).