3 references to ColorFromBrush
PresentationFramework (3)
System\Windows\Controls\TextRangeAdaptor.cs (3)
61
return
ColorFromBrush
(tp.GetValue(TextElement.BackgroundProperty));
192
return
ColorFromBrush
(tp.GetValue(TextElement.ForegroundProperty));
1314
color =
ColorFromBrush
(decor.Pen.Brush);