Hi there,
I just started using Telerik RadControls for WinForms. I have crated a Shaped Form and tried setting the backcolor of the titlebar at runtime. Following is the code which sets the backcolor at runtime, but the color doesnt get effected.
Then, I tried using the following code to acheive the same.
I just started using Telerik RadControls for WinForms. I have crated a Shaped Form and tried setting the backcolor of the titlebar at runtime. Following is the code which sets the backcolor at runtime, but the color doesnt get effected.
this
.radTitleBar1.backcolor = Color.Blue;
Then, I tried using the following code to acheive the same.
((Telerik.WinControls.Primitives.FillPrimitive)(
this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor = Color.Blue;
((Telerik.WinControls.Primitives.FillPrimitive)(
this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = Color.Blue;((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = Color.Blue;((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = Color.Blue;
Why the previous code didnt work?
Thanks
Raj