RadMenuItem Style

2 posts, 0 answers
  1. Wayne Cook
    Wayne Cook avatar
    4 posts
    Member since:
    Nov 2009

    Posted 06 Apr 2010 Link to this post

    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.

  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 09 Apr 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top