How to change the color of the a WPF `<Separator />`?

Nam G VU picture Nam G VU · Oct 22, 2010 · Viewed 23.2k times · Source

I use <Separator /> in my form but don't know how to change its color. None of Border /Foreground/Background does exist. Plese help.

Answer

throop77 picture throop77 · Oct 24, 2012

You can set the Background:

<Separator Background="Red"/>