75 references to Colors
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
Classification\ClassificationTypeFormatDefinitions.cs (5)
35
this.ForegroundColor =
Colors
.Black;
53
this.ForegroundColor =
Colors
.Black;
72
this.ForegroundColor =
Colors
.Maroon;
694
this.ForegroundColor =
Colors
.Green;
748
this.ForegroundColor =
Colors
.Green;
EditAndContinue\ActiveStatementTagFormatDefinition.cs (1)
33
this.BackgroundColor =
Colors
.Silver;
ReferenceHighlighting\DefinitionHighlightTagDefinition.cs (1)
27
this.Border = new Pen(new SolidColorBrush(
Colors
.Gray), 0.5);
Utilities\BrushToColorConverter.cs (2)
18
GradientBrush gradientBrush => gradientBrush.GradientStops.FirstOrDefault()?.Color ??
Colors
.Transparent,
19
_ =>
Colors
.Transparent
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\ChangeSignatureDialog.xaml.cs (2)
63
RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(
Colors
.Gray);
67
StrikethroughBrush = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(
Colors
.Red);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
197
ImageThemingUtilities.SetImageBackgroundColor(holder,
Colors
.Transparent);
PresentationCore (27)
MS\Internal\Ink\Renderer.cs (1)
711
private Color _highContrastColor =
Colors
.White;
System\Windows\Ink\DrawingAttributes.cs (3)
82
Debug.Assert(
Colors
.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color));
83
return
Colors
.Black;
672
return
Colors
.Black;
System\Windows\InterOp\HwndSource.cs (1)
280
_hwndTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\InterOp\HwndTarget.cs (1)
2260
Colors
.Transparent, // _colorKey.GetValueOrDefault(Colors.Black),
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (2)
321
internal static Color s_Color =
Colors
.Black;
363
Colors
.Black,
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (2)
407
internal static Color s_Color =
Colors
.Black;
449
Colors
.Black,
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (2)
268
internal static Color s_GlowColor =
Colors
.Gold;
300
Colors
.Gold,
System\Windows\Media\Generated\GradientStop.cs (2)
264
Colors
.Transparent,
296
internal static Color s_Color =
Colors
.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (2)
312
internal static Color s_Color =
Colors
.Transparent;
341
Colors
.Transparent,
System\Windows\Media3D\AmbientLight.cs (1)
40
: this(
Colors
.White )
System\Windows\Media3D\Generated\DiffuseMaterial.cs (4)
358
internal static Color s_Color =
Colors
.White;
359
internal static Color s_AmbientColor =
Colors
.White;
391
Colors
.White,
400
Colors
.White,
System\Windows\Media3D\Generated\EmissiveMaterial.cs (2)
331
internal static Color s_Color =
Colors
.White;
363
Colors
.White,
System\Windows\Media3D\Generated\Light.cs (2)
194
internal static Color s_Color =
Colors
.White;
223
Colors
.White,
System\Windows\Media3D\Generated\SpecularMaterial.cs (2)
358
internal static Color s_Color =
Colors
.White;
391
Colors
.White,
PresentationFramework (17)
MS\Internal\Ink\LassoHelper.cs (2)
51
static readonly Color DotColor =
Colors
.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f);
52
static readonly Color DotCircumferenceColor =
Colors
.White;
MS\Internal\Ink\PenCursorManager.cs (1)
80
da.Color =
Colors
.Black;
System\Windows\Appearance\WindowBackdropManager.cs (1)
103
windowSource.CompositionTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\Controls\Primitives\Popup.cs (2)
3369
hwndTarget.BackgroundColor = transparent ?
Colors
.Transparent :
Colors
.Black;
System\Windows\Controls\ProgressBar.cs (6)
205
b.GradientStops.Add(new GradientStop(
Colors
.Transparent, 0.0));
208
b.GradientStops.Add(new GradientStop(
Colors
.Transparent, 1.0));
217
mask.GradientStops.Add(new GradientStop(
Colors
.Transparent, 0.0));
218
mask.GradientStops.Add(new GradientStop(
Colors
.Black, 0.4));
219
mask.GradientStops.Add(new GradientStop(
Colors
.Black, 0.6));
220
mask.GradientStops.Add(new GradientStop(
Colors
.Transparent, 1.0));
System\Windows\Controls\TextRangeAdaptor.cs (1)
1260
Color 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)
185
Pen 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)
2295
color =
Colors
.Transparent;
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
913
temp.Brush = new SolidColorBrush(
Colors
.White);
937
temp.Brush = new SolidColorBrush(
Colors
.White);
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1210
temp.Brush = new SolidColorBrush(
Colors
.White);
1731
SolidColorBrush temp = new SolidColorBrush(
Colors
.White);
1768
_localResources.GlyphShadow = new SolidColorBrush(
Colors
.White);
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
913
temp.Brush = new SolidColorBrush(
Colors
.White);
937
temp.Brush = new SolidColorBrush(
Colors
.White);
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1210
temp.Brush = new SolidColorBrush(
Colors
.White);
1731
SolidColorBrush 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)
709
brush = BrushProxy.BlendColorWithBrush(false,
Colors
.White, brush, false);
769
strokeBrush = BrushProxy.BlendColorWithBrush(false,
Colors
.White, strokeBrush, false);
889
image.BlendOverColor(
Colors
.White, 1.0, false);
934
BrushProxy bp = BrushProxy.BlendColorWithBrush(false,
Colors
.White, foreground, false);
AlphaFlattener\Flattener.cs (1)
683
BrushProxy under = BrushProxy.CreateColorBrush(
Colors
.White);
AlphaFlattener\MetroDevice.cs (1)
237
g.OpacityMask = BrushProxy.CreateColorBrush(
Colors
.Transparent);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
25
this.BackgroundColor =
Colors
.LightBlue;