Transparent background in the DropDownContent of the DropDownButton

2 posts, 0 answers
  1. Jon
    Jon avatar
    10 posts
    Member since:
    Sep 2010

    Posted 16 Mar 2011 Link to this post

    Hi!

    Is it possible to make the background of the DropDownContent in the RadDropDownButton transparent?

    It seems I'm not able to change the default white color...

    (I've attached a screendump of my challenge. I want to get rid of the white background surrounding the inner black border).


    Thanks!

    Jon
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 18 Mar 2011 Link to this post

    Hi Jon,

    You will need to edit the ControlTemplate of the RadDropDownButton (read more about editing ControlTemplates in Blend) and change the Background color of the DropDownPopupBorder element.

    By default the DropDownPopupBorder Background property is bound to a SolidColorBrush resource named ControlBackground so if you change this brush's Color to Transparent, the DropDownContent Background will be transparent.

    I attached a sample project to get you started. Let us know if we can further assist you.

    All the best,
    Tina Stancheva
    the Telerik team
  3. DevCraft banner
Back to Top