How to set RadMenu Background Image

2 posts, 0 answers
  1. Zack
    Zack avatar
    3 posts
    Member since:
    Jan 2008

    Posted 27 Oct 2008 Link to this post

    Hi,
    I am evaluating Winforms with VS2008 on XP.

    I would like to create a menu strip with rad menu on top and a simple ribbon-style image below the menu. However, when I drag rad menu on top of an existing panel with an image, rad menu does not display the underlying panel image.  I have tried setting the rad menu property RadMenu BackColor to Transparent but the rad menu is still opaque and does not display the image.

    I must be missing something as I am following the steps in your help documentation on radmenu.

    Here are the steps:
    1. Start new project with a form.
    2. Drag windows panel control onto the form, assign an image to it.
    3. Drag radMenu on top of win panel control, enter a menu text item.
    4. Select radMenu item and from properties menu, select BackColor property item, then select 'transparent' from the web tab.

    Thanks for letting me know wha tI am doing wrong.
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 28 Oct 2008 Link to this post

    Hi Zack,

    Thank you for contacting us.

    Indeed, there are some additional steps which you should follow and which are not included in our documentation. We will update it in one of our next releases.

    You should set the BackColors of the RadMenu's (and its main RadMenuItems) FillPrimitive to Transparent. This could be done in the theme using our Visual Style Builder tool. For more information about it, please refer to these videos: video1, video2.

    You can set these properties programmatically as well. For this purpose, our RadControlSpy will be of good use, since it will give you more information about which visual element is which in the control's hierarchy. For more information, refer to this video.

    I am attaching a sample project to demonstrate the programmatic approach. If you need additional assistance, feel free to contact me.

    Regards,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top