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
Hide DockableControlPanes in DockAreaPane

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.