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)
64
RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(
Colors
.Gray);
68
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)
705
private Color _highContrastColor =
Colors
.White;
System\Windows\Ink\DrawingAttributes.cs (3)
71
Debug.Assert(
Colors
.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color));
72
return
Colors
.Black;
661
return
Colors
.Black;
System\Windows\InterOp\HwndSource.cs (1)
274
_hwndTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\InterOp\HwndTarget.cs (1)
2245
Colors
.Transparent, // _colorKey.GetValueOrDefault(Colors.Black),
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (2)
293
internal static Color s_Color =
Colors
.Black;
335
Colors
.Black,
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (2)
381
internal static Color s_Color =
Colors
.Black;
423
Colors
.Black,
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (2)
240
internal static Color s_GlowColor =
Colors
.Gold;
272
Colors
.Gold,
System\Windows\Media\Generated\GradientStop.cs (2)
236
Colors
.Transparent,
268
internal static Color s_Color =
Colors
.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (2)
284
internal static Color s_Color =
Colors
.Transparent;
313
Colors
.Transparent,
System\Windows\Media3D\AmbientLight.cs (1)
33
: this(
Colors
.White )
System\Windows\Media3D\Generated\DiffuseMaterial.cs (4)
334
internal static Color s_Color =
Colors
.White;
335
internal static Color s_AmbientColor =
Colors
.White;
367
Colors
.White,
376
Colors
.White,
System\Windows\Media3D\Generated\EmissiveMaterial.cs (2)
307
internal static Color s_Color =
Colors
.White;
339
Colors
.White,
System\Windows\Media3D\Generated\Light.cs (2)
168
internal static Color s_Color =
Colors
.White;
197
Colors
.White,
System\Windows\Media3D\Generated\SpecularMaterial.cs (2)
334
internal static Color s_Color =
Colors
.White;
367
Colors
.White,
PresentationFramework (17)
MS\Internal\Ink\LassoHelper.cs (2)
46
static readonly Color DotColor =
Colors
.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f);
47
static readonly Color DotCircumferenceColor =
Colors
.White;
MS\Internal\Ink\PenCursorManager.cs (1)
75
da.Color =
Colors
.Black;
System\Windows\Appearance\WindowBackdropManager.cs (1)
102
windowSource.CompositionTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\Controls\Primitives\Popup.cs (2)
3372
hwndTarget.BackgroundColor = transparent ?
Colors
.Transparent :
Colors
.Black;
System\Windows\Controls\ProgressBar.cs (6)
199
b.GradientStops.Add(new GradientStop(
Colors
.Transparent, 0.0));
202
b.GradientStops.Add(new GradientStop(
Colors
.Transparent, 1.0));
213
mask.GradientStops.Add(new GradientStop(
Colors
.Transparent, 0.0));
214
mask.GradientStops.Add(new GradientStop(
Colors
.Black, 0.4));
215
mask.GradientStops.Add(new GradientStop(
Colors
.Black, 0.6));
216
mask.GradientStops.Add(new GradientStop(
Colors
.Transparent, 1.0));
System\Windows\Controls\TextRangeAdaptor.cs (1)
1258
Color 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)
182
Pen 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)
2293
color =
Colors
.Transparent;
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
924
Brush = new SolidColorBrush(
Colors
.White)
950
Brush = new SolidColorBrush(
Colors
.White)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1242
Brush = new SolidColorBrush(
Colors
.White)
1792
SolidColorBrush temp = new SolidColorBrush(
Colors
.White)
1831
_localResources.GlyphShadow = new SolidColorBrush(
Colors
.White);
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
924
Brush = new SolidColorBrush(
Colors
.White)
950
Brush = new SolidColorBrush(
Colors
.White)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1242
Brush = new SolidColorBrush(
Colors
.White)
1792
SolidColorBrush 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)
707
brush = BrushProxy.BlendColorWithBrush(false,
Colors
.White, brush, false);
767
strokeBrush = BrushProxy.BlendColorWithBrush(false,
Colors
.White, strokeBrush, false);
887
image.BlendOverColor(
Colors
.White, 1.0, false);
932
BrushProxy bp = BrushProxy.BlendColorWithBrush(false,
Colors
.White, foreground, false);
AlphaFlattener\Flattener.cs (1)
683
BrushProxy under = BrushProxy.CreateColorBrush(
Colors
.White);
AlphaFlattener\MetroDevice.cs (1)
232
g.OpacityMask = BrushProxy.CreateColorBrush(
Colors
.Transparent);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
25
this.BackgroundColor =
Colors
.LightBlue;