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