I have several dockable panes and wanted to Close 1 at run time -vs- at design time. Granted I am new to Infragistics controls, but wanted to say I was not able to get at the public Item property of the DockAreas, DockAreasCollection. Is this not a public property in v8.1 control set? I did review the Closed property in the help files and they gave me an aternative, namely "this.ultraDockManager1.DockAreas[0].Close();" however, this does not work either. Compiler reports: "Non-invocable member Infragistics.Win.UltraWinDock.UltraDockManager.DockAreas' cannot be used like a method." I am able to use the ControlPanes["keyValue"].Close() option.
Also, once I unpin a visible pane, it retracks as desired. However, if I re-pin the same pane, I am not able to unpin nor close via the buttons. I am able to Hide/UnHide via popup menu. Why would the buttons stop working?
Thx Mike... appreciate quick replies. Issues submitted. If code desired.. would not be problem. Working on screen flow proto-type only.
I'm not sure the Item collection issue is a bug. I think this can only be accessed in VB, but it looks like you are using C#. The second issue does sound like a bug.
I must have... just re-did Copy/Paste of the DockArea property code and of course it worked. Is this now the "preferred" method over use of the Item collection that apparently does not exist or is at least not public. I will submit a bug report. Also have a refresh/paint issue too that I ran into yesterday. Triggered when I .Show a closed top pane and a side pane has a combo in it. After the top pane flies out, the side pane reduces in size, but a ghost image of the combo remains, thus looking like its in 2 places.
It looks like you are using parentheses instead of square brackets when trying to index into the DockAreas collection.
I believe your second issue is a bug. I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.