1 write to Color
PresentationCore (1)
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (1)
59Color = color;
29 references to Color
PresentationCore (4)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1776Color color = ((SolidColorBrush)foregroundBrush).Color;
Core\CSharp\System\Windows\Media\Generated\SolidColorBrush.cs (1)
209data.Color = CompositionResourceManager.ColorToMilColorF(Color);
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (2)
174string strColor = scp.Color.ConvertToString(null, System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS); 228string strBrush = Color.ConvertToString(format, provider);
PresentationFramework (16)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (5)
958alpha = brush.Color.A; 960alpha = (byte) (brush.Opacity * brush.Color.A); 962color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B);
src\Framework\System\Windows\Controls\Border.cs (1)
310|| ((originIndependentBrush.Color.A < 0xff) && !uniformBorders)
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
196Color color = ((SolidColorBrush)this.Foreground).Color;
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1832da.Color = foreground.Color;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
1269Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
226thisBrush != null && otherBrush != null && thisBrush.Color == otherBrush.Color && thisBrush.Opacity == otherBrush.Opacity)
src\Framework\System\Windows\Documents\TextSchema.cs (2)
922return solidBrush1.Color.Equals(((SolidColorBrush)brush2).Color);
src\Framework\System\windows\Documents\TextSelection.cs (2)
1640backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color; 1656backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color;
src\Framework\System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
115return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
PresentationFramework.Aero (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
453if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (4)
421controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 424if (decorator._brushCache == null || controlColor != decorator._brushCache.LightBrush.Color) 929return (solidBrush != null && (solidBrush.Color.A == 0xFF || solidBrush.Color.A == 0x00));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
453if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
453if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
453if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (1)
581return brush.Color;