Get rid of gradient background

4 posts, 0 answers
  1. Gary
    Gary avatar
    30 posts
    Member since:
    Jun 2009

    Posted 09 Apr 2010 Link to this post

    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).
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 14 Apr 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alcatraz
    Alcatraz avatar
    15 posts
    Member since:
    Mar 2010

    Posted 25 May 2010 Link to this post

    Hi Gary,

    Can you please share the answer for your query?

    Thanks
    Kris
  5. Gary
    Gary avatar
    30 posts
    Member since:
    Jun 2009

    Posted 25 May 2010 Link to this post

    Hi Kris, I was able to set the back color by doing:

    theSplitPanel.SplitPanelElement.Fill.GradientStyle = Telerik.WinControls.GradientStyles.Solid
Back to Top