Hi, I'm creating docks dynamically in codebehind (c#) and i'm trying to change colors of each dock.
I am able to change Titlebar's background color but seems like i can't change the forecolor.
I think it's because bootstraps css is overwriting it.
Any idea how i can do this in codebehind?
here is part of the code i have:
dock.TitlebarContainer.BackColor = Color.Black; //works fine
dock.TitlebarContainer.ForeColor = Color.White; //DOES NOT WORK, inspecting the element, i can see that it is actually set but is getting overwritten by bootstrap
dock.ContentContainer.BackColor = Color.Back; //works fine
dock.ContentContainer.ForeColor = Color.White; //works fine
I also tried the following:
dock.TitlebarContainer.Style["color"] = "White !important";