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