This is a migrated thread and some comments may be shown as answers.

Get rid of gradient background

3 Answers 114 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 09 Apr 2010, 10:52 PM
I can't find a way to get rid of the default gradient backcolor of the raddock control.  I've tried the following:

spltContainer.Style.SetValue(Telerik.WinControls.Primitives.FillPrimitive.GradientStyleProperty, Telerik.WinControls.GradientStyles.Solid)

And it has no effect.  I've even tried getting the FillPrimitive child, and setting it's GradientStyle to Solid, but it just get's overwritten (if I set the value using RadControlSpy it works).

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Apr 2010, 09:58 PM
Hi Gary,

Please find the answer to your question in the support ticket that you have opened about the same topic.

Regards,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Alcatraz
Top achievements
Rank 1
answered on 25 May 2010, 04:54 PM
Hi Gary,

Can you please share the answer for your query?

Thanks
Kris
0
Gary
Top achievements
Rank 1
answered on 25 May 2010, 10:50 PM
Hi Kris, I was able to set the back color by doing:

theSplitPanel.SplitPanelElement.Fill.GradientStyle = Telerik.WinControls.GradientStyles.Solid
Tags
Dock
Asked by
Gary
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Alcatraz
Top achievements
Rank 1
Gary
Top achievements
Rank 1
Share this question
or