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

RadMenuItem Style

1 Answer 158 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Wayne Cook
Top achievements
Rank 1
Wayne Cook asked on 06 Apr 2010, 02:38 PM

What I am trying to do is to change the style/coloring of a RadMenuItem.  I want the left side of the menu to have a different coloring style then of the whole RadMenuItem, left section meaning the section that contains the icons/images of the menu item.


When I set the  below properties it changes the whole item.

        CType(MenuControl.GetChildAt(0), Telerik.WinControls.Primitives.FillPrimitive).BackColor = System.Drawing.Color.FromArgb(CType(CType(215, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))

        CType(MenuControl.GetChildAt(0), Telerik.WinControls.Primitives.FillPrimitive).BackColor2 = System.Drawing.Color.FromArgb(CType(CType(132, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(78, Byte), Integer))

        CType(MenuControl.GetChildAt(0), Telerik.WinControls.Primitives.FillPrimitive).BackColor3 = System.Drawing.Color.FromArgb(CType(CType(63, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(10, Byte), Integer))

        CType(MenuControl.GetChildAt(0), Telerik.WinControls.Primitives.FillPrimitive).BackColor4 = System.Drawing.Color.FromArgb(CType(CType(78, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))

 

Thanks in advance for your help.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 09 Apr 2010, 12:28 PM
Hello Tommy,

Thank you for the question.

Please find its answer in the support ticket that you have opened about the same topic.

Kind 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.
Tags
Menu
Asked by
Wayne Cook
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or