110
Hide DockableControlPanes in DockAreaPane
posted

I'm working with Infragistic controls. It creates a UserControl that is puts into a DockableControlPane that is then put into a DockAreaPane that is inside of a UltraDockManager that is inside a Form.
Example udockManager.DockAreas has 5 DockAreaPane(dap1,dap2,dap3,dap4,dap5) and dap1 has 3 DockableControlPanes in its Panes (P1, P2, P3).
I want to hide  P2 based on some condition.