Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modifying look/behavior of the new Popup control (ChildWindow) in Silverlight 3

I would like to remove grey header of the new Popup control in Silverlight 3.

Any ideas if this is possible?

like image 304
vidalsasoon Avatar asked Mar 26 '09 02:03

vidalsasoon


1 Answers

Pretty easy, just edit the default ChildWindow style.

  1. In Blend 3 create a new Item of type ChildWindow. (Right Click on the Project --> New Item --> Select ChildWindow from the list)
  2. Right click on ChildWindow in the "Objects and Timeline" pane --> Edit Template --> Edit Copy.
  3. Navigate to the element named "Chrome" inside the default template and change the Background to whatever Brush you'd like.
like image 78
JustinAngel Avatar answered Nov 15 '22 12:11

JustinAngel