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