tags:

views:

177

answers:

1

None of the brushes in SystemColors seems to fit the bill, and IIRC, the OS theme beginning with Windows XP uses a gradient. Is there standard OS dialog box background brush or a way to tell WPF that the window is a dialog box and it should paint the background accordingly?

+4  A: 

Try this:

Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"
Charlie