RadDock Hidden Window Text Colour

3 posts, 0 answers
  1. Martin
    Martin avatar
    35 posts
    Member since:
    Jun 2014

    Posted 17 May 2016 Link to this post


    I have a Main Form with rad dock and four split panels on it. It all works fine and I'm really happy with the pin, unpin, float and dock prompt. It is a really great control.

    My main form background is very dark grey and the when a panel is hidden the text that appears at the side of the main form is dark blue. I wish to change to white or pale grey. Is there a way to alter the text colour?

    The attached (crude) image may illustrate what I am seeing.

    Many thanks,



  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 18 May 2016 Link to this post

    Hello Martin,

    Thank you for writing.

    Please note that the auto-hide tabs are dynamically created. So you can change the color when a window is hidden. For example:
    public RadForm1()
        radDock1.DockStateChanged += RadDock1_DockStateChanged;
    private void RadDock1_DockStateChanged(object sender, Telerik.WinControls.UI.Docking.DockWindowEventArgs e)
        if (e.DockWindow.DockState == Telerik.WinControls.UI.Docking.DockState.AutoHide)
            e.DockWindow.AutoHideTab.ForeColor = Color.Red;

    Please let me know if there is something else I can help you with. 
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Martin
    Martin avatar
    35 posts
    Member since:
    Jun 2014

    Posted 18 May 2016 in reply to Dimitar Link to this post

    Thanks Dimitar - that is exactly what I was looking for
Back to Top