This is a migrated thread and some comments may be shown as answers.

RadDock Hidden Window Text Colour

2 Answers 67 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 17 May 2016, 12:44 PM

Hello.

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,

Martin.

 

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 18 May 2016, 07:34 AM
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()
{
    InitializeComponent();
    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. 
 
Regards,
Dimitar
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Martin
Top achievements
Rank 1
answered on 18 May 2016, 09:52 AM
Thanks Dimitar - that is exactly what I was looking for
Tags
Dock
Asked by
Martin
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Martin
Top achievements
Rank 1
Share this question
or