I've a panel docked in a UltraDockManager. An "title bar" with a Pin button and a Close button appear automatically once the panel is docked.
At the design time, the text of the "title bar" can be accessed by DockAreas.DockAreaPane[0].Panes.DockableControlPane[0].Text.
My question is what's the best way update the text on the "title bar" at the runtime, when the panel either docked or unpinned. Thanks.
Thanks! It works nicely.
Assuming your dock manager and panel are named ultraDockManager1 and panel1, the following code should work at run-time:
this.ultraDockManager1.ControlPanes[panel1].Text = "Panel 1";