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)
63RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray); 67StrikethroughBrush = 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)
711private Color _highContrastColor = Colors.White;
System\Windows\Ink\DrawingAttributes.cs (3)
82Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 83return Colors.Black; 672return Colors.Black;
System\Windows\InterOp\HwndSource.cs (1)
280_hwndTarget.BackgroundColor = Colors.Transparent;
System\Windows\InterOp\HwndTarget.cs (1)
2260Colors.Transparent, // _colorKey.GetValueOrDefault(Colors.Black),
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (2)
321internal static Color s_Color = Colors.Black; 363Colors.Black,
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (2)
407internal static Color s_Color = Colors.Black; 449Colors.Black,
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (2)
268internal static Color s_GlowColor = Colors.Gold; 300Colors.Gold,
System\Windows\Media\Generated\GradientStop.cs (2)
264Colors.Transparent, 296internal static Color s_Color = Colors.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (2)
312internal static Color s_Color = Colors.Transparent; 341Colors.Transparent,
System\Windows\Media3D\AmbientLight.cs (1)
40: this( Colors.White )
System\Windows\Media3D\Generated\DiffuseMaterial.cs (4)
358internal static Color s_Color = Colors.White; 359internal static Color s_AmbientColor = Colors.White; 391Colors.White, 400Colors.White,
System\Windows\Media3D\Generated\EmissiveMaterial.cs (2)
331internal static Color s_Color = Colors.White; 363Colors.White,
System\Windows\Media3D\Generated\Light.cs (2)
194internal static Color s_Color = Colors.White; 223Colors.White,
System\Windows\Media3D\Generated\SpecularMaterial.cs (2)
358internal static Color s_Color = Colors.White; 391Colors.White,
PresentationFramework (17)
MS\Internal\Ink\LassoHelper.cs (2)
51static readonly Color DotColor = Colors.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f); 52static readonly Color DotCircumferenceColor = Colors.White;
MS\Internal\Ink\PenCursorManager.cs (1)
80da.Color = Colors.Black;
System\Windows\Appearance\WindowBackdropManager.cs (1)
103windowSource.CompositionTarget.BackgroundColor = Colors.Transparent;
System\Windows\Controls\Primitives\Popup.cs (2)
3369hwndTarget.BackgroundColor = transparent ? Colors.Transparent : Colors.Black;
System\Windows\Controls\ProgressBar.cs (6)
205b.GradientStops.Add(new GradientStop(Colors.Transparent, 0.0)); 208b.GradientStops.Add(new GradientStop(Colors.Transparent, 1.0)); 217mask.GradientStops.Add(new GradientStop(Colors.Transparent, 0.0)); 218mask.GradientStops.Add(new GradientStop(Colors.Black, 0.4)); 219mask.GradientStops.Add(new GradientStop(Colors.Black, 0.6)); 220mask.GradientStops.Add(new GradientStop(Colors.Transparent, 1.0));
System\Windows\Controls\TextRangeAdaptor.cs (1)
1260Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
System\Windows\Documents\ColumnResizeAdorner.cs (1)
44_pen = new Pen(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (1)
185Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Shell\WindowChromeWorker.cs (1)
968_hwndSource.CompositionTarget.BackgroundColor = Colors.Transparent;
System\Windows\SystemColors.cs (1)
2295color = Colors.Transparent;
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
913temp.Brush = new SolidColorBrush(Colors.White); 937temp.Brush = new SolidColorBrush(Colors.White);
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1210temp.Brush = new SolidColorBrush(Colors.White); 1731SolidColorBrush temp = new SolidColorBrush(Colors.White); 1768_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
913temp.Brush = new SolidColorBrush(Colors.White); 937temp.Brush = new SolidColorBrush(Colors.White);
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1210temp.Brush = new SolidColorBrush(Colors.White); 1731SolidColorBrush temp = new SolidColorBrush(Colors.White); 1768_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
ReachFramework (8)
AlphaFlattener\BrushProxy.cs (2)
1028_beforeDrawing = Colors.Transparent; 1029_afterDrawing = Colors.Transparent;
AlphaFlattener\DrawingContext.cs (4)
709brush = BrushProxy.BlendColorWithBrush(false, Colors.White, brush, false); 769strokeBrush = BrushProxy.BlendColorWithBrush(false, Colors.White, strokeBrush, false); 889image.BlendOverColor(Colors.White, 1.0, false); 934BrushProxy bp = BrushProxy.BlendColorWithBrush(false, Colors.White, foreground, false);
AlphaFlattener\Flattener.cs (1)
683BrushProxy under = BrushProxy.CreateColorBrush(Colors.White);
AlphaFlattener\MetroDevice.cs (1)
237g.OpacityMask = BrushProxy.CreateColorBrush(Colors.Transparent);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
25this.BackgroundColor = Colors.LightBlue;