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

Transparent background in the DropDownContent of the DropDownButton

1 Answer 24 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 16 Mar 2011, 02:03 PM
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

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 18 Mar 2011, 04:59 PM
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
Tags
Buttons
Asked by
Jon
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or