Hi Ronda,
Sorry for the confusion. Here is the correct code snippet for setting the active tab text
private void dockingManager1_NewDockStateEndLoad(object sender, System.EventArgs e)
{
DockHost dhost = this.pnlpanel1.Parent as DockHost;
DockHostController dhc = dhost.InternalController as DockHostController;
if(dhc.ParentController is DockTabController)
{
//Accessing the Internal Tab
DockTabControl docktab = (dhc.ParentController as DockTabController).TabControl;
//Setting the Font style for the selected Tab.
docktab.ActiveTabFont = new System.Drawing.Font("TimesNewRoman",10,FontStyle.Bold);
}
}
Here is a sample
F20527DockingTabBold_8438.zip
Please let me know if you have any questions. Thanks.
Best regards,
Stephen.
>Ok I figured out that the event was not being fired because I had themes turned on. Still this doesn''t solve the problem I need to change the text on only the active tab the tab text not the tab''s caption text. I don''t see anything for that.