62 references to Colors
PresentationCore (27)
MS\Internal\Ink\Renderer.cs (1)
704
private Color _highContrastColor =
Colors
.White;
System\Windows\Ink\DrawingAttributes.cs (3)
70
Debug.Assert(
Colors
.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color));
71
return
Colors
.Black;
660
return
Colors
.Black;
System\Windows\InterOp\HwndSource.cs (1)
273
_hwndTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\InterOp\HwndTarget.cs (1)
2240
Colors
.Transparent, // _colorKey.GetValueOrDefault(Colors.Black),
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (2)
298
internal static Color s_Color =
Colors
.Black;
339
Colors
.Black,
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (2)
393
internal static Color s_Color =
Colors
.Black;
434
Colors
.Black,
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (2)
245
internal static Color s_GlowColor =
Colors
.Gold;
276
Colors
.Gold,
System\Windows\Media\Generated\GradientStop.cs (2)
235
Colors
.Transparent,
267
internal static Color s_Color =
Colors
.Transparent;
System\Windows\Media\Generated\SolidColorBrush.cs (2)
299
internal static Color s_Color =
Colors
.Transparent;
327
Colors
.Transparent,
System\Windows\Media3D\AmbientLight.cs (1)
32
: this(
Colors
.White )
System\Windows\Media3D\Generated\DiffuseMaterial.cs (4)
351
internal static Color s_Color =
Colors
.White;
352
internal static Color s_AmbientColor =
Colors
.White;
383
Colors
.White,
392
Colors
.White,
System\Windows\Media3D\Generated\EmissiveMaterial.cs (2)
324
internal static Color s_Color =
Colors
.White;
355
Colors
.White,
System\Windows\Media3D\Generated\Light.cs (2)
178
internal static Color s_Color =
Colors
.White;
206
Colors
.White,
System\Windows\Media3D\Generated\SpecularMaterial.cs (2)
351
internal static Color s_Color =
Colors
.White;
383
Colors
.White,
PresentationFramework (17)
MS\Internal\Ink\LassoHelper.cs (2)
46
private static readonly Color DotColor =
Colors
.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f);
47
private static readonly Color DotCircumferenceColor =
Colors
.White;
MS\Internal\Ink\PenCursorManager.cs (1)
74
da.Color =
Colors
.Black;
System\Windows\Appearance\WindowBackdropManager.cs (1)
105
windowSource.CompositionTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\Controls\Primitives\Popup.cs (2)
3362
hwndTarget.BackgroundColor = transparent ?
Colors
.Transparent :
Colors
.Black;
System\Windows\Controls\ProgressBar.cs (6)
195
b.GradientStops.Add(new GradientStop(
Colors
.Transparent, 0.0));
198
b.GradientStops.Add(new GradientStop(
Colors
.Transparent, 1.0));
209
mask.GradientStops.Add(new GradientStop(
Colors
.Transparent, 0.0));
210
mask.GradientStops.Add(new GradientStop(
Colors
.Black, 0.4));
211
mask.GradientStops.Add(new GradientStop(
Colors
.Black, 0.6));
212
mask.GradientStops.Add(new GradientStop(
Colors
.Transparent, 1.0));
System\Windows\Controls\TextRangeAdaptor.cs (1)
1257
Color color = (solidBrush != null) ? solidBrush.Color :
Colors
.Black;
System\Windows\Documents\ColumnResizeAdorner.cs (1)
35
_pen = new Pen(new SolidColorBrush(
Colors
.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (1)
181
Pen pen = new Pen(new SolidColorBrush(
Colors
.Black), lineHeight);
System\Windows\Shell\WindowChromeWorker.cs (1)
952
_hwndSource.CompositionTarget.BackgroundColor =
Colors
.Transparent;
System\Windows\SystemColors.cs (1)
2292
color =
Colors
.Transparent;
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
923
Brush = new SolidColorBrush(
Colors
.White)
949
Brush = new SolidColorBrush(
Colors
.White)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1241
Brush = new SolidColorBrush(
Colors
.White)
1791
SolidColorBrush temp = new SolidColorBrush(
Colors
.White)
1830
_localResources.GlyphShadow = new SolidColorBrush(
Colors
.White);
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (2)
923
Brush = new SolidColorBrush(
Colors
.White)
949
Brush = new SolidColorBrush(
Colors
.White)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
1241
Brush = new SolidColorBrush(
Colors
.White)
1791
SolidColorBrush temp = new SolidColorBrush(
Colors
.White)
1830
_localResources.GlyphShadow = new SolidColorBrush(
Colors
.White);
ReachFramework (8)
AlphaFlattener\BrushProxy.cs (2)
1021
_beforeDrawing =
Colors
.Transparent;
1022
_afterDrawing =
Colors
.Transparent;
AlphaFlattener\DrawingContext.cs (4)
706
brush = BrushProxy.BlendColorWithBrush(false,
Colors
.White, brush, false);
766
strokeBrush = BrushProxy.BlendColorWithBrush(false,
Colors
.White, strokeBrush, false);
886
image.BlendOverColor(
Colors
.White, 1.0, false);
931
BrushProxy bp = BrushProxy.BlendColorWithBrush(false,
Colors
.White, foreground, false);
AlphaFlattener\Flattener.cs (1)
676
BrushProxy under = BrushProxy.CreateColorBrush(
Colors
.White);
AlphaFlattener\MetroDevice.cs (1)
231
g.OpacityMask = BrushProxy.CreateColorBrush(
Colors
.Transparent);