Hi. everyone.
I can change color of ToolTabStrip in RadDock.
But when it colapse, why it change to default color.
if anyone have ideas.please suggest me.
Best regard
Anol Paisal
I can change color of ToolTabStrip in RadDock.
But when it colapse, why it change to default color.
if anyone have ideas.please suggest me.
ToolWindow toolWindow = new ToolWindow("Menu"); |
toolWindow.BackColor = Color.Transparent; |
this.dockWorkField.DockWindow(toolWindow, DockPosition.Left); |
//Change tooltabstrip color |
ToolTabStrip toolTab = (ToolTabStrip)toolWindow.Parent; |
toolTab.BackColor = Color.Transparent; |
toolTab.RootElement.Shape = this.roundRectShape; |
toolTab.Padding = new Padding(3); |
((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).GradientStyle = Telerik.WinControls.GradientStyles.Solid; |
((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).BackColor = Color.FromArgb(219, 198, 201); |
((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).Shape = this.roundRectShapeTop; |
((BorderPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[1])).Shape = this.roundRectShapeTop; |
//Change splitter color |
FillPrimitive FillElement = (FillPrimitive)this.dockWorkField.RootElement.Children[1].Children[0].Children[0]; |
FillElement.BackColor = Color.Transparent; |
FillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid; |
Best regard
Anol Paisal