Completed
Last Updated: 01 Oct 2014 12:16 by ADMIN
ADMIN
George
Created on: 04 Jul 2014 08:06
Category: Dock
Type: Bug Report
0
FIX. RadDock - Setting ToolCaptionButtons on ToolWindows in design time does not update the buttons until the window is focused
To reproduce:

Add a RadDock to a form and a ToolWindow and set the ToolCaptionButtons to None. Now start the application and you will see that until you focus the ToolWindow, the buttons will be visible.

Workaround:

Set the ToolCaptionButtons property when the form loads:

void CadHandler_Load(object sender, EventArgs e)
{
    foreach (DockWindow window in this.radDock1.DockWindows)
    {
        window.ToolCaptionButtons = ToolStripCaptionButtons.None;
    }
}
0 comments