Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Dock > ToolTabStrip Caption

Not answered ToolTabStrip Caption

Feed from this thread
  • Posted on Jan 31, 2012 (permalink)

    I have a problem with docking toolTabStrip.

    In starting position is ok (caption toolTabstrip is hidden  , but when I dock this control and undock then caption of  toolTabStrip is show.

    Files below are describe this problem.

    Reply

  • stefan stefanov avatar

    Posted on Feb 1, 2012 (permalink)

    Hi Dawid. 

    You can try to use the AutoHideWindowDisplaying event, where you can control the text of both the tab item and the caption. Here is a sample snippet:
    void radDock1_AutoHideWindowDisplaying(object sender, AutoHideWindowDisplayingEventArgs e)
    {
        ToolWindow tw = e.NewWindow as ToolWindow;
        if (tw != null)
        {
            string saveText = tw.Text;
            tw.Text = "";
            tw.AutoHideTab.Text = saveText;
        }
    }


    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Dock > ToolTabStrip Caption
Related resources for "ToolTabStrip Caption"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]