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