Hello,
I need to set the fill primitive of a control programatically. Attached is a picture of what I need to accomplish.
From the tree on the left (of the attached image) you can see I'm setting DockLayoutPanel.ToolwindowCaptionElement.FillPrimitive to the color red. Works great from within the designer, but I need to do it via program control.
It seems like this control, which is in a raddock, is part of a tool tab strip so I've tried...
toolTabStrip11.SplitPanelElement.Fill.BackColor = Color.Red;
toolTabStrip11.SplitPanelElement.ForeColor = Color.Red;
and several other variations, but none of them changed the color. Is there a way to do this grammatically?
Thanks to anyone who can solve this,
Steve