Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
XamDockManager and CommandBindings
posted

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?

Parents
  • 1485
    posted

    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.

Reply Children