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