Hi,
I am using XamDockManager 10.2 version.
In my dockmanager if use a content pane (except in tabbed position) i am unable to close the pane using right corner - 'x' button. It's in disable state. I am facing this problem recently while changing my versions.
How can I eliminate this problem?Do we need to enable this button explicitly while adding a content pane? I tried this by giving AllowClose = True; CloseButtonVisibility="Visible"; But Its not working.
Could anybody help me to solve this issue. I have also attached a sample application along with this.
Aziz, I cannot tell what problem you are seeing from your description. Please provide a sample that demonstrates the problem and we can look into this further. The original issue had to do with the fact that the close command is a routed command like all routed commands, the CanExecute is only evaluated when someone calls InvalidateRequerySuggested which happens implicitly by the WPF framework when you press a key or the mouse button down but otherwise would need to be explicitly invoked. I'm assuming that the AllowClose of the panes in your sample is true.
I am having similar issue. I tried calling the CommandManager.InvalidateRequerySuggested() and it is not working. Still could not close the window when it is in floating mode.
I have called the method in the construstor. I am using version 10.2. It was working fine previously with earlier version of infragistics.
CAN ANYONE FROM IFRAGISTICS SUPPORT TEAM HELPUS.
Thanks,
Aziz
Is there any solution to enable the 'close' button automatically without having any additional events
Thanks & Regards,
Arthi
Arthi,
I should have specified that in my previous response. You can try with the PaneDragEnded event as you are dragging the document out of the DocumentContentHost and floating it.
Alex,
Thanks for the solution. But can I get a sample piece of code on where to call
CommandManager.InvalidateRequerySuggested();
Thanks in Advance.
- Arthi