3 references to ColorFromBrush
PresentationFramework (3)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (3)
71
return
ColorFromBrush
(tp.GetValue(TextElement.BackgroundProperty));
202
return
ColorFromBrush
(tp.GetValue(TextElement.ForegroundProperty));
1325
color =
ColorFromBrush
(decor.Pen.Brush);