Good day,
1. I am using the Docking Manager to show multiple forms and am also using a custom color manager.
Most of the colors works fine but i have an issue in that the DockHost's (Syncfusion.Windows.Forms.Tools.DockHost)
Title bar doesn't seem to change and I cannot access any color settings except Back and Fore colors.
2. I am also having an issue correctly coloring the RibbonPanel. I am not actively trying to fix this now but I am unsure if the two might be linked.
For your information I have a set of three colors:
ForeColor: 224,224,224 in this case
BackColor: 27,27,27 in this case
AlternateBackColor: BackColor+10%
My custom color scheme works as follows: (This is NOT used for the RibbonPanel)
<Code>
public static void SetColors(Control ControlToSet)
{
try
{
Color ForeColor= App.AppSettings.ForeColor;
Color BackColor = App.AppSettings.BackColor;
Color BackAlternativeColor = App.AppSettings.BackColorAlternativeRows;
ControlToSet.BackColor = BackColor;
ControlToSet.ForeColor = ForeColor;
//...Custom code for specific tyes of controls
//...
//...
foreach (Control childControl in ControlToSet.Controls)
{
SetColors(childControl);
}
}
catch(Exception ex)
{
LogError.Error(ex);
}
}
<?Code>
Regards,
James