Can we have gradient color effect on form's back color?
Or theme for Telerik.WinControls.UI.ShapedForm ?
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 14 Mar 2008, 08:28 AM
Hello Divyesh Chapaneri,
Currently, the ShapedForm class does not provide you with the functionality that will allow you to set a gradient color as a backcolor.
However, you still can achieve the desired results by using a RadPanel as a background on the form:
Drag a RadPanel from the Toolbox to your Form.
Set its Dock property to Fill.
Click RadPanel's Smart Tag and choose Edit UI Elements from the menu.
Navigate to FillPrimitive in the Control element structure tree and set BackColor, BackColor2 and BackColor3 to the various nuances of grey.
Note that if there are other controls on the Form, they should be children to the RadPanel, but not to the Form itself. This way they will stay on top and will not hide once you set the colors to the RadPanel.
I hope this helps. If you need additional assistance, do not hesitate to contact me.