ToolTabStrip Caption

2 posts, 0 answers
  1. Dawid
    Dawid avatar
    9 posts
    Member since:
    Dec 2008

    Posted 31 Jan 2012 Link to this post

    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.
  2. stefan stefanov
    stefan stefanov avatar
    4 posts
    Member since:
    Feb 2010

    Posted 01 Feb 2012 Link to this post

    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;

Back to Top