I was a little surprised that this didn't work, so had a look at the source code. SvgLine doesn't support the Fill property - I
think this is correct according to the standard.
Anyway, in your example above just change Fill = ... to Stroke = ... and you'll see your red line.
The code should really be throwing a NotSupportedException I suppose.