75 references to Colors
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
Classification\ClassificationTypeFormatDefinitions.cs (5)
35this.ForegroundColor = Colors.Black; 53this.ForegroundColor = Colors.Black; 72this.ForegroundColor = Colors.Maroon; 694this.ForegroundColor = Colors.Green; 748this.ForegroundColor = Colors.Green;
EditAndContinue\ActiveStatementTagFormatDefinition.cs (1)
33this.BackgroundColor = Colors.Silver;
ReferenceHighlighting\DefinitionHighlightTagDefinition.cs (1)
27this.Border = new Pen(new SolidColorBrush(Colors.Gray), 0.5);
Utilities\BrushToColorConverter.cs (2)
18GradientBrush gradientBrush => gradientBrush.GradientStops.FirstOrDefault()?.Color ?? Colors.Transparent, 19_ => Colors.Transparent
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\ChangeSignatureDialog.xaml.cs (2)
64RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray); 68StrikethroughBrush = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
197ImageThemingUtilities.SetImageBackgroundColor(holder, Colors.Transparent);
PresentationCore (27)
MS\Internal\Ink\Renderer.cs (1)
705private Color _highContrastColor = Colors.White;
System\Windows\Ink\DrawingAttributes.cs (3)
71Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 72return Colors.Black; 661return Colors.Black;
System\Windows\InterOp\HwndSource.cs (1)
274_hwndTarget.BackgroundColor = Colors.Transparent;
System\Windows\InterOp\HwndTarget.cs (1)
2245Colors.Transparent, // _colorKey.GetValueOrDefault(Colors.Black),
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (2)
293internal static Color s_Color = Colors.Black; 335Colors.Black,
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (2)
381internal static Color s_Color = Colors.Black; 423Colors.Black,
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (2)
240internal static Color s_GlowColor = Colors.Gold; 272Colors.Gold,
System\Windows\Media\Generated\GradientStop.cs (2)
236Colors.Transparent, 268internal static Color s_Color = Colors.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (2)
284internal static Color s_Color = Colors.Transparent; 313Colors.Transparent,
System\Windows\Media3D\AmbientLight.cs (1)
33: this( Colors.White )
System\Windows\Media3D\Generated\DiffuseMaterial.cs (4)
334internal static Color s_Color = Colors.White; 335internal static Color s_AmbientColor = Colors.White; 367Colors.White, 376Colors.White,
System\Windows\Media3D\Generated\EmissiveMaterial.cs (2)
307internal static Color s_Color = Colors.White; 339Colors.White,
System\Windows\Media3D\Generated\Light.cs (2)
168internal static Color s_Color = Colors.White; 197Colors.White,
System\Windows\Media3D\Generated\SpecularMaterial.cs (2)
334internal static Color s_Color = Colors.White; 367Colors.White,
PresentationFramework (17)
MS\Internal\Ink\LassoHelper.cs (2)
46static readonly Color DotColor = Colors.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f); 47static readonly Color DotCircumferenceColor = Colors.White;
MS\Internal\Ink\PenCursorManager.cs (1)
75da.Color = Colors.Black;
System\Windows\Appearance\WindowBackdropManager.cs (1)
102windowSource.CompositionTarget.BackgroundColor = Colors.Transparent;
System\Windows\Controls\Primitives\Popup.cs (2)
3372hwndTarget.BackgroundColor = transparent ? Colors.Transparent : Colors.Black;
System\Windows\Controls\ProgressBar.cs (6)
199b.GradientStops.Add(new GradientStop(Colors.Transparent, 0.0)); 202b.GradientStops.Add(new GradientStop(Colors.Transparent, 1.0)); 213mask.GradientStops.Add(new GradientStop(Colors.Transparent, 0.0)); 214mask.GradientStops.Add(new GradientStop(Colors.Black, 0.4)); 215mask.GradientStops.Add(new GradientStop(Colors.Black, 0.6)); 216mask.GradientStops.Add(new GradientStop(Colors.Transparent, 1.0));
System\Windows\Controls\TextRangeAdaptor.cs (1)
1258Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
System\Windows\Documents\ColumnResizeAdorner.cs (1)
36_pen = new Pen(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (1)
182Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Shell\WindowChromeWorker.cs (1)
963_hwndSource.CompositionTarget.BackgroundColor = Colors.Transparent;
System\Windows\SystemColors.cs (1)
2293color = Colors.Transparent;
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
924Brush = new SolidColorBrush(Colors.White) 950Brush = new SolidColorBrush(Colors.White)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1242Brush = new SolidColorBrush(Colors.White) 1792SolidColorBrush temp = new SolidColorBrush(Colors.White) 1831_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
924Brush = new SolidColorBrush(Colors.White) 950Brush = new SolidColorBrush(Colors.White)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1242Brush = new SolidColorBrush(Colors.White) 1792SolidColorBrush temp = new SolidColorBrush(Colors.White) 1831_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
ReachFramework (8)
AlphaFlattener\BrushProxy.cs (2)
1025_beforeDrawing = Colors.Transparent; 1026_afterDrawing = Colors.Transparent;
AlphaFlattener\DrawingContext.cs (4)
707brush = BrushProxy.BlendColorWithBrush(false, Colors.White, brush, false); 767strokeBrush = BrushProxy.BlendColorWithBrush(false, Colors.White, strokeBrush, false); 887image.BlendOverColor(Colors.White, 1.0, false); 932BrushProxy bp = BrushProxy.BlendColorWithBrush(false, Colors.White, foreground, false);
AlphaFlattener\Flattener.cs (1)
683BrushProxy under = BrushProxy.CreateColorBrush(Colors.White);
AlphaFlattener\MetroDevice.cs (1)
232g.OpacityMask = BrushProxy.CreateColorBrush(Colors.Transparent);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
25this.BackgroundColor = Colors.LightBlue;