16 instantiations of Color
PresentationCore (10)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (4)
235Color from = new Color(); 236Color to = new Color(); 237Color accumulated = new Color(); 238Color foundation = new Color();
Core\CSharp\System\Windows\Media\Color.cs (6)
47Color c1 = new Color(); 127Color c1 = new Color(); 149Color c1 = new Color(); 180Color c1 = new Color(); 427Color c1 = new Color(); 546Color c1 = new Color();
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2628bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Color(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1168case KnownElements.Color: o = new System.Windows.Media.Color(); break;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
443Color darkDarkColor = new Color();
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
26Color color = new Color(); 37Color startingColor = new Color(); 42Color endingColor = new Color();
1428 references to Color
PresentationCore (560)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (17)
23internal static Color InterpolateColor(Color from, Color to, Double progress) 162internal static Color AddColor(Color value1, Color value2) 264internal static Color SubtractColor(Color value1, Color value2) 383internal static Double GetSegmentLengthColor(Color from, Color to) 512internal static Color ScaleColor(Color value, Double factor) 620internal static bool IsValidAnimationValueColor(Color value) 762internal static Color GetZeroValueColor(Color baseValue) 764return Color.FromScRgb(0.0F, 0.0F, 0.0F, 0.0F);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
832if (!(value is System.Windows.Media.Color)) 834throw new ArgumentException(SR.Get(SRID.InvalidValueType, typeof(System.Windows.Media.Color)), "value");
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (5)
287Color color = Color.FromRgb((byte)(dw & 0xff), (byte)((dw & 0xff00) >> Native.BitsPerByte), (byte)((dw & 0xff0000) >> (Native.BitsPerByte * 2))); 429Color color = da.Color; 529Color daColor = da.Color; 530System.Diagnostics.Debug.Assert(da.Color != (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.Color), "Color was put in the EPC for the default value!");
Core\CSharp\MS\Internal\Ink\Renderer.cs (11)
134internal Color CachedColor 142private Color _cachedColor; 152internal HighlighterContainerVisual(Color color) 160internal Color Color 164private Color _color; 402internal void TurnHighContrastOn(Color strokeColor) 437public Color GetHighContrastColor() 679Color color = StrokeRenderer.GetHighlighterColor(drawingAttributes.Color); 684_highlighters = new Dictionary<Color, HighlighterContainerVisual>(); 719private Dictionary<Color, HighlighterContainerVisual> _highlighters = null; 729private Color _highContrastColor = Colors.White;
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (2)
1127internal static Color GetHighlighterColor(Color color)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1776Color color = ((SolidColorBrush)foregroundBrush).Color; 1777foregroundBrush = new SolidColorBrush(Color.FromArgb(
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (3)
77public Color Color 84Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 87return (Color)GetExtendedPropertyBackedProperty(KnownIds.Color);
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (3)
398Dictionary<Color, List<Stroke>> highLighters = new Dictionary<Color, List<Stroke>>(); 408Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.Color);
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
146private Color _backgroundColor = Color.FromRgb(0, 0, 0); 2553public Color BackgroundColor
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (1)
1129else if (type == typeof(Color))
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (32)
45private Color[] _keyValues; 60Type typeofProp = typeof(Color?); 69new PropertyMetadata((Color?)null, propCallback), 76new PropertyMetadata((Color?)null, propCallback), 83new PropertyMetadata((Color?)null, propCallback), 107public ColorAnimation(Color toValue, Duration duration) 119public ColorAnimation(Color toValue, Duration duration, FillBehavior fillBehavior) 132public ColorAnimation(Color fromValue, Color toValue, Duration duration) 145public ColorAnimation(Color fromValue, Color toValue, Duration duration, FillBehavior fillBehavior) 218protected override Color GetCurrentValueCore(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 235Color from = new Color(); 236Color to = new Color(); 237Color accumulated = new Color(); 238Color foundation = new Color(); 352Color accumulator = AnimatedTypeHelpers.SubtractColor(to, from); 377_keyValues = new Color[2]; 384_keyValues = new Color[2]; 391_keyValues = new Color[1]; 398_keyValues = new Color[1]; 404_keyValues = new Color[1]; 425Color? typedValue = (Color?)value; 445public Color? From 449return (Color?)GetValue(FromProperty); 465public Color? To 469return (Color?)GetValue(ToProperty); 485public Color? By 489return (Color?)GetValue(ByProperty);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (9)
103return GetCurrentValue((Color)defaultOriginValue, (Color)defaultDestinationValue, animationClock); 115return typeof(Color); 152public Color GetCurrentValue(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock) 215protected abstract Color GetCurrentValueCore(Color defaultOriginValue, Color defaultDestinationValue, AnimationClock animationClock);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (8)
331protected sealed override Color GetCurrentValueCore( 332Color defaultOriginValue, 333Color defaultDestinationValue, 359Color currentIterationValue; 395Color fromValue; 643private Color GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 954Color prevKeyValue = _keyFrames[index - 1].Value; 958Color currentKeyValue = _keyFrames[index].Value;
Core\CSharp\System\Windows\Media\Animation\Generated\ColorIndependentAnimationStorage.cs (2)
61Color tempValue = (Color)dobj.GetValue(_dependencyProperty);
Core\CSharp\System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
280public DiscreteColorKeyFrame(Color value) 288public DiscreteColorKeyFrame(Color value, KeyTime keyTime) 316protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
176public EasingColorKeyFrame(Color value) 185public EasingColorKeyFrame(Color value, KeyTime keyTime) 195public EasingColorKeyFrame(Color value, KeyTime keyTime, IEasingFunction easingFunction) 224protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
480protected ColorKeyFrame(Color value) 489protected ColorKeyFrame(Color value, KeyTime keyTime) 532typeof(Color), 547Value = (Color)value; 554public Color Value 558return (Color)GetValue(ValueProperty); 575public Color InterpolateValue( 576Color baseValue, 596protected abstract Color InterpolateValueCore( 597Color baseValue,
Core\CSharp\System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
128public LinearColorKeyFrame(Color value) 136public LinearColorKeyFrame(Color value, KeyTime keyTime) 162protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
184public SplineColorKeyFrame(Color value) 193public SplineColorKeyFrame(Color value, KeyTime keyTime) 203public SplineColorKeyFrame(Color value, KeyTime keyTime, KeySpline keySpline) 237protected override Color InterpolateValueCore(Color baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Color.cs (58)
30public struct Color : IFormattable, IEquatable<Color> 45private static Color FromProfile(Uri profileUri) 47Color c1 = new Color(); 75public static Color FromAValues(float a, float[] values, Uri profileUri) 77Color c1 = Color.FromProfile(profileUri); 115public static Color FromValues(float[] values, Uri profileUri) 117Color c1 = Color.FromAValues(1.0f, values, profileUri); 125internal static Color FromUInt32(uint argb)// internal legacy sRGB interface 127Color c1 = new Color(); 147public static Color FromScRgb(float a, float r, float g, float b) 149Color c1 = new Color(); 178public static Color FromArgb(byte a, byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 180Color c1 = new Color(); 200public static Color FromRgb(byte r, byte g, byte b)// legacy sRGB interface, bytes are required to properly round trip 202Color c1 = Color.FromArgb(0xff, r, g, b); 336public static bool AreClose(Color color1, Color color2) 348private bool IsClose(Color color) 414public static Color operator +(Color color1, Color color2) 418Color c1 = FromScRgb( 427Color c1 = new Color(); 437Color c2 = Color.FromRgb(0, 0, 0); 516public static Color Add(Color color1, Color color2) 528public static Color operator -(Color color1, Color color2) 532Color c1 = FromScRgb( 546Color c1 = new Color(); 556Color c2 = Color.FromRgb(0, 0, 0); 635public static Color Subtract(Color color1, Color color2) 646public static Color operator *(Color color, float coefficient) 648Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 668public static Color Multiply(Color color, float coefficient) 676public static bool Equals(Color color1, Color color2) 688public bool Equals(Color color) 702if (o is Color) 704Color color = (Color)o; 719public static bool operator ==(Color color1, Color color2) 788public static bool operator !=(Color color1, Color color2) 1103Color c2 = Color.FromRgb(0, 0, 0);
Core\CSharp\System\Windows\Media\ColorConverter.cs (6)
117if (destinationType != null && value is Color) 121MethodInfo mi = typeof(Color).GetMethod("FromArgb", new Type[]{typeof(byte), typeof(byte), typeof(byte), typeof(byte)}); 122Color c = (Color)value; 127Color c = (Color)value;
Core\CSharp\System\Windows\Media\Composition.cs (1)
32internal static MilColorF ColorToMilColorF(Color c)
Core\CSharp\System\Windows\Media\Effects\DropShadowBitmapEffect.cs (1)
90Color color = Color;
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (4)
152public Color Color 156return (Color) GetValue(ColorProperty); 327internal static Color s_Color = Colors.Black; 367typeof(Color),
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowEffect.cs (4)
152public Color Color 156return (Color) GetValue(ColorProperty); 428internal static Color s_Color = Colors.Black; 468typeof(Color),
Core\CSharp\System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (4)
123public Color GlowColor 127return (Color) GetValue(GlowColorProperty); 274internal static Color s_GlowColor = Colors.Gold; 304typeof(Color),
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (4)
863type == typeof(Color) || 917else if (t == typeof(Color)) 919Color col = (Color)value;
Core\CSharp\System\Windows\Media\Generated\GradientStop.cs (4)
111public Color Color 115return (Color) GetValue(ColorProperty); 268typeof(Color), 302internal static Color s_Color = Colors.Transparent;
Core\CSharp\System\Windows\Media\Generated\SolidColorBrush.cs (4)
104public Color Color 108return (Color) GetValue(ColorProperty); 329internal static Color s_Color = Colors.Transparent; 356typeof(Color),
Core\CSharp\System\Windows\Media\GradientStop.cs (1)
51public GradientStop(Color color, double offset)
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (14)
49public BitmapPalette(IList<Color> colors) 63Color[] colorArray = new Color[count]; 70_colors = new PartialList<Color>(colorArray); 240public IList<Color> Colors 278foreach (Color color in palette.Colors) 327Color color = _colors[i]; 360List<Color> colors = new List<Color>(); 387colors.Add(Color.FromArgb(c.A, c.R, c.G, c.B)); 391_colors = new PartialList<Color>(colors); 426private IList<Color> _colors = new PartialList<Color>(new List<Color>());
Core\CSharp\System\Windows\Media\KnownColors.cs (283)
220scp = new SolidColorBrush(Color.FromUInt32(argb)); 719public static Color AliceBlue 723return Color.FromUInt32((uint)KnownColor.AliceBlue); 730public static Color AntiqueWhite 734return Color.FromUInt32((uint)KnownColor.AntiqueWhite); 741public static Color Aqua 745return Color.FromUInt32((uint)KnownColor.Aqua); 752public static Color Aquamarine 756return Color.FromUInt32((uint)KnownColor.Aquamarine); 763public static Color Azure 767return Color.FromUInt32((uint)KnownColor.Azure); 774public static Color Beige 778return Color.FromUInt32((uint)KnownColor.Beige); 785public static Color Bisque 789return Color.FromUInt32((uint)KnownColor.Bisque); 796public static Color Black 800return Color.FromUInt32((uint)KnownColor.Black); 807public static Color BlanchedAlmond 811return Color.FromUInt32((uint)KnownColor.BlanchedAlmond); 818public static Color Blue 822return Color.FromUInt32((uint)KnownColor.Blue); 829public static Color BlueViolet 833return Color.FromUInt32((uint)KnownColor.BlueViolet); 840public static Color Brown 844return Color.FromUInt32((uint)KnownColor.Brown); 851public static Color BurlyWood 855return Color.FromUInt32((uint)KnownColor.BurlyWood); 862public static Color CadetBlue 866return Color.FromUInt32((uint)KnownColor.CadetBlue); 873public static Color Chartreuse 877return Color.FromUInt32((uint)KnownColor.Chartreuse); 884public static Color Chocolate 888return Color.FromUInt32((uint)KnownColor.Chocolate); 895public static Color Coral 899return Color.FromUInt32((uint)KnownColor.Coral); 906public static Color CornflowerBlue 910return Color.FromUInt32((uint)KnownColor.CornflowerBlue); 917public static Color Cornsilk 921return Color.FromUInt32((uint)KnownColor.Cornsilk); 928public static Color Crimson 932return Color.FromUInt32((uint)KnownColor.Crimson); 939public static Color Cyan 943return Color.FromUInt32((uint)KnownColor.Cyan); 950public static Color DarkBlue 954return Color.FromUInt32((uint)KnownColor.DarkBlue); 961public static Color DarkCyan 965return Color.FromUInt32((uint)KnownColor.DarkCyan); 972public static Color DarkGoldenrod 976return Color.FromUInt32((uint)KnownColor.DarkGoldenrod); 983public static Color DarkGray 987return Color.FromUInt32((uint)KnownColor.DarkGray); 994public static Color DarkGreen 998return Color.FromUInt32((uint)KnownColor.DarkGreen); 1005public static Color DarkKhaki 1009return Color.FromUInt32((uint)KnownColor.DarkKhaki); 1016public static Color DarkMagenta 1020return Color.FromUInt32((uint)KnownColor.DarkMagenta); 1027public static Color DarkOliveGreen 1031return Color.FromUInt32((uint)KnownColor.DarkOliveGreen); 1038public static Color DarkOrange 1042return Color.FromUInt32((uint)KnownColor.DarkOrange); 1049public static Color DarkOrchid 1053return Color.FromUInt32((uint)KnownColor.DarkOrchid); 1060public static Color DarkRed 1064return Color.FromUInt32((uint)KnownColor.DarkRed); 1071public static Color DarkSalmon 1075return Color.FromUInt32((uint)KnownColor.DarkSalmon); 1082public static Color DarkSeaGreen 1086return Color.FromUInt32((uint)KnownColor.DarkSeaGreen); 1093public static Color DarkSlateBlue 1097return Color.FromUInt32((uint)KnownColor.DarkSlateBlue); 1104public static Color DarkSlateGray 1108return Color.FromUInt32((uint)KnownColor.DarkSlateGray); 1115public static Color DarkTurquoise 1119return Color.FromUInt32((uint)KnownColor.DarkTurquoise); 1126public static Color DarkViolet 1130return Color.FromUInt32((uint)KnownColor.DarkViolet); 1137public static Color DeepPink 1141return Color.FromUInt32((uint)KnownColor.DeepPink); 1148public static Color DeepSkyBlue 1152return Color.FromUInt32((uint)KnownColor.DeepSkyBlue); 1159public static Color DimGray 1163return Color.FromUInt32((uint)KnownColor.DimGray); 1170public static Color DodgerBlue 1174return Color.FromUInt32((uint)KnownColor.DodgerBlue); 1181public static Color Firebrick 1185return Color.FromUInt32((uint)KnownColor.Firebrick); 1192public static Color FloralWhite 1196return Color.FromUInt32((uint)KnownColor.FloralWhite); 1203public static Color ForestGreen 1207return Color.FromUInt32((uint)KnownColor.ForestGreen); 1214public static Color Fuchsia 1218return Color.FromUInt32((uint)KnownColor.Fuchsia); 1225public static Color Gainsboro 1229return Color.FromUInt32((uint)KnownColor.Gainsboro); 1236public static Color GhostWhite 1240return Color.FromUInt32((uint)KnownColor.GhostWhite); 1247public static Color Gold 1251return Color.FromUInt32((uint)KnownColor.Gold); 1258public static Color Goldenrod 1262return Color.FromUInt32((uint)KnownColor.Goldenrod); 1269public static Color Gray 1273return Color.FromUInt32((uint)KnownColor.Gray); 1280public static Color Green 1284return Color.FromUInt32((uint)KnownColor.Green); 1291public static Color GreenYellow 1295return Color.FromUInt32((uint)KnownColor.GreenYellow); 1302public static Color Honeydew 1306return Color.FromUInt32((uint)KnownColor.Honeydew); 1313public static Color HotPink 1317return Color.FromUInt32((uint)KnownColor.HotPink); 1324public static Color IndianRed 1328return Color.FromUInt32((uint)KnownColor.IndianRed); 1335public static Color Indigo 1339return Color.FromUInt32((uint)KnownColor.Indigo); 1346public static Color Ivory 1350return Color.FromUInt32((uint)KnownColor.Ivory); 1357public static Color Khaki 1361return Color.FromUInt32((uint)KnownColor.Khaki); 1368public static Color Lavender 1372return Color.FromUInt32((uint)KnownColor.Lavender); 1379public static Color LavenderBlush 1383return Color.FromUInt32((uint)KnownColor.LavenderBlush); 1390public static Color LawnGreen 1394return Color.FromUInt32((uint)KnownColor.LawnGreen); 1401public static Color LemonChiffon 1405return Color.FromUInt32((uint)KnownColor.LemonChiffon); 1412public static Color LightBlue 1416return Color.FromUInt32((uint)KnownColor.LightBlue); 1423public static Color LightCoral 1427return Color.FromUInt32((uint)KnownColor.LightCoral); 1434public static Color LightCyan 1438return Color.FromUInt32((uint)KnownColor.LightCyan); 1445public static Color LightGoldenrodYellow 1449return Color.FromUInt32((uint)KnownColor.LightGoldenrodYellow); 1456public static Color LightGray 1460return Color.FromUInt32((uint)KnownColor.LightGray); 1467public static Color LightGreen 1471return Color.FromUInt32((uint)KnownColor.LightGreen); 1478public static Color LightPink 1482return Color.FromUInt32((uint)KnownColor.LightPink); 1489public static Color LightSalmon 1493return Color.FromUInt32((uint)KnownColor.LightSalmon); 1500public static Color LightSeaGreen 1504return Color.FromUInt32((uint)KnownColor.LightSeaGreen); 1511public static Color LightSkyBlue 1515return Color.FromUInt32((uint)KnownColor.LightSkyBlue); 1522public static Color LightSlateGray 1526return Color.FromUInt32((uint)KnownColor.LightSlateGray); 1533public static Color LightSteelBlue 1537return Color.FromUInt32((uint)KnownColor.LightSteelBlue); 1544public static Color LightYellow 1548return Color.FromUInt32((uint)KnownColor.LightYellow); 1555public static Color Lime 1559return Color.FromUInt32((uint)KnownColor.Lime); 1566public static Color LimeGreen 1570return Color.FromUInt32((uint)KnownColor.LimeGreen); 1577public static Color Linen 1581return Color.FromUInt32((uint)KnownColor.Linen); 1588public static Color Magenta 1592return Color.FromUInt32((uint)KnownColor.Magenta); 1599public static Color Maroon 1603return Color.FromUInt32((uint)KnownColor.Maroon); 1610public static Color MediumAquamarine 1614return Color.FromUInt32((uint)KnownColor.MediumAquamarine); 1621public static Color MediumBlue 1625return Color.FromUInt32((uint)KnownColor.MediumBlue); 1632public static Color MediumOrchid 1636return Color.FromUInt32((uint)KnownColor.MediumOrchid); 1643public static Color MediumPurple 1647return Color.FromUInt32((uint)KnownColor.MediumPurple); 1654public static Color MediumSeaGreen 1658return Color.FromUInt32((uint)KnownColor.MediumSeaGreen); 1665public static Color MediumSlateBlue 1669return Color.FromUInt32((uint)KnownColor.MediumSlateBlue); 1676public static Color MediumSpringGreen 1680return Color.FromUInt32((uint)KnownColor.MediumSpringGreen); 1687public static Color MediumTurquoise 1691return Color.FromUInt32((uint)KnownColor.MediumTurquoise); 1698public static Color MediumVioletRed 1702return Color.FromUInt32((uint)KnownColor.MediumVioletRed); 1709public static Color MidnightBlue 1713return Color.FromUInt32((uint)KnownColor.MidnightBlue); 1720public static Color MintCream 1724return Color.FromUInt32((uint)KnownColor.MintCream); 1731public static Color MistyRose 1735return Color.FromUInt32((uint)KnownColor.MistyRose); 1742public static Color Moccasin 1746return Color.FromUInt32((uint)KnownColor.Moccasin); 1753public static Color NavajoWhite 1757return Color.FromUInt32((uint)KnownColor.NavajoWhite); 1764public static Color Navy 1768return Color.FromUInt32((uint)KnownColor.Navy); 1775public static Color OldLace 1779return Color.FromUInt32((uint)KnownColor.OldLace); 1786public static Color Olive 1790return Color.FromUInt32((uint)KnownColor.Olive); 1797public static Color OliveDrab 1801return Color.FromUInt32((uint)KnownColor.OliveDrab); 1808public static Color Orange 1812return Color.FromUInt32((uint)KnownColor.Orange); 1819public static Color OrangeRed 1823return Color.FromUInt32((uint)KnownColor.OrangeRed); 1830public static Color Orchid 1834return Color.FromUInt32((uint)KnownColor.Orchid); 1841public static Color PaleGoldenrod 1845return Color.FromUInt32((uint)KnownColor.PaleGoldenrod); 1852public static Color PaleGreen 1856return Color.FromUInt32((uint)KnownColor.PaleGreen); 1863public static Color PaleTurquoise 1867return Color.FromUInt32((uint)KnownColor.PaleTurquoise); 1874public static Color PaleVioletRed 1878return Color.FromUInt32((uint)KnownColor.PaleVioletRed); 1885public static Color PapayaWhip 1889return Color.FromUInt32((uint)KnownColor.PapayaWhip); 1896public static Color PeachPuff 1900return Color.FromUInt32((uint)KnownColor.PeachPuff); 1907public static Color Peru 1911return Color.FromUInt32((uint)KnownColor.Peru); 1918public static Color Pink 1922return Color.FromUInt32((uint)KnownColor.Pink); 1929public static Color Plum 1933return Color.FromUInt32((uint)KnownColor.Plum); 1940public static Color PowderBlue 1944return Color.FromUInt32((uint)KnownColor.PowderBlue); 1951public static Color Purple 1955return Color.FromUInt32((uint)KnownColor.Purple); 1962public static Color Red 1966return Color.FromUInt32((uint)KnownColor.Red); 1973public static Color RosyBrown 1977return Color.FromUInt32((uint)KnownColor.RosyBrown); 1984public static Color RoyalBlue 1988return Color.FromUInt32((uint)KnownColor.RoyalBlue); 1995public static Color SaddleBrown 1999return Color.FromUInt32((uint)KnownColor.SaddleBrown); 2006public static Color Salmon 2010return Color.FromUInt32((uint)KnownColor.Salmon); 2017public static Color SandyBrown 2021return Color.FromUInt32((uint)KnownColor.SandyBrown); 2028public static Color SeaGreen 2032return Color.FromUInt32((uint)KnownColor.SeaGreen); 2039public static Color SeaShell 2043return Color.FromUInt32((uint)KnownColor.SeaShell); 2050public static Color Sienna 2054return Color.FromUInt32((uint)KnownColor.Sienna); 2061public static Color Silver 2065return Color.FromUInt32((uint)KnownColor.Silver); 2072public static Color SkyBlue 2076return Color.FromUInt32((uint)KnownColor.SkyBlue); 2083public static Color SlateBlue 2087return Color.FromUInt32((uint)KnownColor.SlateBlue); 2094public static Color SlateGray 2098return Color.FromUInt32((uint)KnownColor.SlateGray); 2105public static Color Snow 2109return Color.FromUInt32((uint)KnownColor.Snow); 2116public static Color SpringGreen 2120return Color.FromUInt32((uint)KnownColor.SpringGreen); 2127public static Color SteelBlue 2131return Color.FromUInt32((uint)KnownColor.SteelBlue); 2138public static Color Tan 2142return Color.FromUInt32((uint)KnownColor.Tan); 2149public static Color Teal 2153return Color.FromUInt32((uint)KnownColor.Teal); 2160public static Color Thistle 2164return Color.FromUInt32((uint)KnownColor.Thistle); 2171public static Color Tomato 2175return Color.FromUInt32((uint)KnownColor.Tomato); 2182public static Color Transparent 2186return Color.FromUInt32((uint)KnownColor.Transparent); 2193public static Color Turquoise 2197return Color.FromUInt32((uint)KnownColor.Turquoise); 2204public static Color Violet 2208return Color.FromUInt32((uint)KnownColor.Violet); 2215public static Color Wheat 2219return Color.FromUInt32((uint)KnownColor.Wheat); 2226public static Color White 2230return Color.FromUInt32((uint)KnownColor.White); 2237public static Color WhiteSmoke 2241return Color.FromUInt32((uint)KnownColor.WhiteSmoke); 2248public static Color Yellow 2252return Color.FromUInt32((uint)KnownColor.Yellow); 2259public static Color YellowGreen 2263return Color.FromUInt32((uint)KnownColor.YellowGreen);
Core\CSharp\System\Windows\Media\LinearGradientBrush.cs (4)
60public LinearGradientBrush(Color startColor, 61Color endColor, 78public LinearGradientBrush(Color startColor, 79Color endColor,
Core\CSharp\System\Windows\Media\Parsers.cs (11)
56static private Color ParseHexColor(string trimmedColor) 95return ( Color.FromArgb ((byte)a, (byte)r, (byte)g, (byte)b) ); 101static private Color ParseContextColor(string trimmedColor, IFormatProvider formatProvider, ITypeDescriptorContext context) 146Color result = Color.FromAValues(alpha, values, profileUri); 157static private Color ParseScRgbColor(string trimmedColor, IFormatProvider formatProvider) 185return Color.FromScRgb(values[0], values[1], values[2], values[3]); 189return Color.FromScRgb(1.0f, values[0], values[1], values[2]); 198internal static Color ParseColor(string color, IFormatProvider formatProvider) 209internal static Color ParseColor(string color, IFormatProvider formatProvider, ITypeDescriptorContext context) 247return Color.FromUInt32((uint)kc);
Core\CSharp\System\Windows\Media\RadialGradientBrush.cs (2)
56public RadialGradientBrush(Color startColor, 57Color endColor) : base()
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (1)
57public SolidColorBrush(Color color)
Core\CSharp\System\Windows\Media3D\AmbientLight.cs (1)
51public AmbientLight(Color ambientColor)
Core\CSharp\System\Windows\Media3D\DirectionalLight.cs (1)
52public DirectionalLight(Color diffuseColor, Vector3D direction)
Core\CSharp\System\Windows\Media3D\Generated\DiffuseMaterial.cs (8)
155public Color Color 159return (Color) GetValue(ColorProperty); 170public Color AmbientColor 174return (Color) GetValue(AmbientColorProperty); 379internal static Color s_Color = Colors.White; 380internal static Color s_AmbientColor = Colors.White; 410typeof(Color), 419typeof(Color),
Core\CSharp\System\Windows\Media3D\Generated\EmissiveMaterial.cs (4)
148public Color Color 152return (Color) GetValue(ColorProperty); 352internal static Color s_Color = Colors.White; 382typeof(Color),
Core\CSharp\System\Windows\Media3D\Generated\Light.cs (4)
100public Color Color 104return (Color) GetValue(ColorProperty); 200internal static Color s_Color = Colors.White; 227typeof(Color),
Core\CSharp\System\Windows\Media3D\Generated\SpecularMaterial.cs (4)
155public Color Color 159return (Color) GetValue(ColorProperty); 379internal static Color s_Color = Colors.White; 410typeof(Color),
Core\CSharp\System\Windows\Media3D\PointLight.cs (1)
51public PointLight(Color diffuseColor, Point3D position)
Core\CSharp\System\Windows\Media3D\SpotLight.cs (1)
51public SpotLight(Color diffuseColor, Point3D position, Vector3D direction,
Graphics\include\exports.cs (2)
2613Color color, 2697Color colorKey,
PresentationFramework (136)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (21)
137public Color DefaultBackground 153public Color DefaultActiveBackground 410Color IHighlightRange.Background 421Color IHighlightRange.SelectedBackground 495internal static void GetCargoColors(Annotation annot, ref Nullable<Color> backgroundColor, ref Nullable<Color> activeBackgroundColor) 574private static Color GetColor(string color) 576return (Color)ColorConverter.ConvertFromString(color); 586private void GetColors(Annotation annot, out Color backgroundColor, out Color activeBackgroundColor) 588Nullable<Color> tempBackgroundColor = _defaultBackroundColor; 589Nullable<Color> tempActiveBackgroundColor = _defaultActiveBackgroundColor; 591backgroundColor = (Color)tempBackgroundColor; 592activeBackgroundColor = (Color)tempActiveBackgroundColor; 616Color background, activeBackground; 681private Color _background; 682private Color _selectedBackground; 696private Color _defaultBackroundColor = (Color)ColorConverter.ConvertFromString("#33FFFF00"); 697private Color _defaultActiveBackgroundColor = (Color)ColorConverter.ConvertFromString("#339ACD32");
src\Framework\MS\Internal\Annotations\Component\IHighlightRange.cs (2)
69Color Background 77Color SelectedBackground
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (8)
1161internal static Color DefaultAnchorBackground = (Color)ColorConverter.ConvertFromString("#3380FF80"); 1162internal static Color DefaultMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000"); 1163internal static Color DefaultActiveAnchorBackground = (Color)ColorConverter.ConvertFromString("#3300FF00"); 1164internal static Color DefaultActiveMarkerColor = (Color)ColorConverter.ConvertFromString("#FF008000");
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
56_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1); 59_adornerFillBrush = new LinearGradientBrush( Color.FromRgb(240, 242, 255), //start color 60Color.FromRgb(180, 207, 248), //end color
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
541context.DrawRectangle(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0)), null, new Rect(0, 0, this.RenderSize.Width, this.RenderSize.Height));
src\Framework\MS\Internal\Ink\HighContrastHelper.cs (2)
37internal abstract void TurnHighContrastOn(Color highContrastColor); 202Color windowTextColor = SystemColors.WindowTextColor;
src\Framework\MS\Internal\Ink\LassoHelper.cs (2)
52static readonly Color DotColor = Colors.Orange; //FromArgb(1, 0.89f, 0.3607f, 0.1843f); 53static readonly Color DotCircumferenceColor = Colors.White;
src\Framework\MS\Internal\Ink\PenCursorManager.cs (3)
471Color.FromRgb(240, 242, 255), // Start Color 472Color.FromRgb(180, 207, 248), // End Color 477SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (4)
946Nullable<Color> color = null; 962color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B); 985private static Annotation ProcessHighlights(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color, bool create) 1037private static Annotation CreateHighlight(AnnotationService service, ITextRange textRange, string author, Nullable<Color> color)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1163border.SetValue(Border.BackgroundProperty, new SolidColorBrush(Color.FromUInt32(0xFF000080)));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
3100internal override void TurnHighContrastOn(Color highContrastColor)
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
405internal override void TurnHighContrastOn(Color highContrastColor)
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
196Color color = ((SolidColorBrush)this.Foreground).Color;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
1269Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
src\Framework\System\Windows\Documents\CompositionAdorner.cs (4)
512Color lineColor = _textServicesDisplayAttribute.GetLineColor(start); 682internal CompositionLine(Rect startRect, Rect endRect, Color lineColor) 746internal Color LineColor 771private Color _color;
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (23)
381internal static bool ColorToUse(ConverterState converterState, long cb, long cf, long shade, ref Color c) 403Color cCB = entryCB != null ? entryCB.Color : Color.FromArgb(0xFF, 0, 0, 0); 404Color cCF = entryCF != null ? entryCF.Color : Color.FromArgb(0xFF, 255, 255, 255); 409c = Color.FromArgb(0xff, 419c = Color.FromArgb(0xff, 429c = Color.FromArgb(0xff, 439c = Color.FromArgb(0xff, 3872_color = Color.FromArgb(0xff, 0, 0, 0); 3886internal Color Color 3914_color = Color.FromArgb(0xff, value, _color.G, _color.B); 3922_color = Color.FromArgb(0xff, _color.R, value, _color.B); 3930_color = Color.FromArgb(0xff, _color.R, _color.G, value); 3944private Color _color; 3979internal Color ColorAt(int index) 3987return Color.FromArgb(0xff, 0, 0, 0); 3999int i = AddColor(Color.FromArgb(0xff, 0, 0, 0)); 4006internal int AddColor(Color color) 5200Color cToUse = Color.FromArgb(0xff, 0, 0, 0); 5259Color cToUse = Color.FromArgb(0xff, 0, 0, 0);
src\Framework\System\windows\Documents\TextSelection.cs (2)
1624Color backgroundColor; 1666caretBrush = new SolidColorBrush(Color.FromRgb(r, g, b));
src\Framework\System\Windows\Documents\TextServicesDisplayAttribute.cs (5)
101internal static Color GetColor(UnsafeNativeMethods.TF_DA_COLOR dacolor, ITextPointer position) 111return Color.FromArgb((byte)((argb & 0xff000000) >> 24), (byte)((argb & 0x00ff0000) >> 16), (byte)((argb & 0x0000ff00) >> 8), (byte)(argb & 0x000000ff)); 121internal Color GetLineColor(ITextPointer position) 186private static Color GetSystemColor(int index) 193return Color.FromArgb((byte)((argb&0xff000000)>>24), (byte)((argb&0x00ff0000)>>16),(byte)((argb&0x0000ff00)>>8), (byte)(argb&0x000000ff));
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (7)
55colorTable.AddColor(Color.FromArgb(0xff, 0, 0, 0)); 56colorTable.AddColor(Color.FromArgb(0xff, 0xff, 0xff, 0xff)); 559Color color = colorTable.ColorAt(i); 3643Color color = Color.FromRgb((byte)((colorValue & 0x00ff0000) >> 16), 3655Color color = (Color)ColorConverter.ConvertFromString(brush);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
173case 81: t = () => typeof(Color); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2626typeof(System.Windows.Media.Color),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5625case KnownElements.Color: t = typeof(System.Windows.Media.Color); break;
src\Framework\System\Windows\Standard\Utilities.cs (2)
35public static Color ColorFromArgbDword(uint color) 37return Color.FromArgb(
src\Framework\System\Windows\SystemColors.cs (35)
19public static Color ActiveBorderColor 30public static Color ActiveCaptionColor 41public static Color ActiveCaptionTextColor 52public static Color AppWorkspaceColor 63public static Color ControlColor 74public static Color ControlDarkColor 85public static Color ControlDarkDarkColor 96public static Color ControlLightColor 107public static Color ControlLightLightColor 118public static Color ControlTextColor 129public static Color DesktopColor 140public static Color GradientActiveCaptionColor 151public static Color GradientInactiveCaptionColor 162public static Color GrayTextColor 173public static Color HighlightColor 184public static Color HighlightTextColor 195public static Color HotTrackColor 206public static Color InactiveBorderColor 217public static Color InactiveCaptionColor 228public static Color InactiveCaptionTextColor 239public static Color InfoColor 250public static Color InfoTextColor 261public static Color MenuColor 272public static Color MenuBarColor 283public static Color MenuHighlightColor 294public static Color MenuTextColor 305public static Color ScrollBarColor 316public static Color WindowColor 327public static Color WindowFrameColor 338public static Color WindowTextColor 1781private static Color GetSystemColor(CacheSlot slot) 1783Color color; 1796color = Color.FromArgb((byte)((argb & 0xff000000) >>24), (byte)((argb & 0x00ff0000) >>16), (byte)((argb & 0x0000ff00) >>8), (byte)(argb & 0x000000ff)); 1938private static Color[] _colorCache = new Color[(int)CacheSlot.NumSlots];
src\Framework\System\Windows\SystemParameters.cs (2)
6253public static Color WindowGlassColor 6574private static Color _windowGlassColor;
src\Framework\System\Windows\VisualStateManager.cs (2)
503Color? targetColor = GetTargetColor(timeline, isEntering); 652private static Color? GetTargetColor(Timeline timeline, bool isEntering)
PresentationFramework.Aero (295)
Microsoft\Windows\Themes\BulletChrome.cs (119)
205ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 208ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 211ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 215ca = new ColorAnimation(Color.FromRgb(0x33, 0xD7, 0xED), duration); 218ca = new ColorAnimation(Color.FromRgb(0x20, 0x94, 0xCE), duration); 225ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 228ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 231ca = new ColorAnimation(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), duration); 239ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 242ca = new ColorAnimation(Color.FromRgb(0x79, 0xC6, 0xF9), duration); 245ca = new ColorAnimation(Color.FromRgb(0xD2, 0xED, 0xFD), duration); 250ca = new ColorAnimation(Color.FromRgb(0xB1, 0xDF, 0xFD), duration); 253ca = new ColorAnimation(Color.FromRgb(0xE9, 0xF7, 0xFE), duration); 263ca = new ColorAnimation(Color.FromRgb(0xFF, 0xFF, 0xFF), duration); 266ca = new ColorAnimation(Color.FromRgb(0x74, 0xFF, 0xFF), duration); 269ca = new ColorAnimation(Color.FromRgb(0x0D, 0xA0, 0xF3), duration); 286ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2A, 0x62, 0x8D), duration); 293ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 296ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 300ca = new ColorAnimation(Color.FromRgb(0x2F, 0xA8, 0xD5), duration); 303ca = new ColorAnimation(Color.FromRgb(0x25, 0x59, 0x8C), duration); 309ca = new ColorAnimation(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), duration); 312ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 315ca = new ColorAnimation(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), duration); 355ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 358ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 366ca = new ColorAnimation(Color.FromRgb(0x19, 0x3B, 0x55), duration); 369ca = new ColorAnimation(Color.FromRgb(0x24, 0x54, 0x79), duration); 372ca = new ColorAnimation(Color.FromRgb(0x29, 0x62, 0x8D), duration); 376ca = new ColorAnimation(Color.FromRgb(0x17, 0x44, 0x7A), duration); 379ca = new ColorAnimation(Color.FromRgb(0x21, 0x8B, 0xC3), duration); 385ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 388ca = new ColorAnimation(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), duration); 391ca = new ColorAnimation(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), duration); 399ca = new ColorAnimation(Color.FromRgb(0x54, 0xA6, 0xD5), duration); 402ca = new ColorAnimation(Color.FromRgb(0x5E, 0xB5, 0xE4), duration); 405ca = new ColorAnimation(Color.FromRgb(0xC4, 0xE5, 0xF6), duration); 409ca = new ColorAnimation(Color.FromRgb(0x7F, 0xBA, 0xDC), duration); 412ca = new ColorAnimation(Color.FromRgb(0xD6, 0xED, 0xF9), duration); 428ca = new ColorAnimation(Color.FromRgb(0x95, 0xD9, 0xFC), duration); 431ca = new ColorAnimation(Color.FromRgb(0x3A, 0x84, 0xAA), duration); 434ca = new ColorAnimation(Color.FromRgb(0x07, 0x54, 0x83), duration); 966temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 989temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1015brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1016brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1017brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1018brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 1)); 1048brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF), 0)); 1049brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1050brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0xA0), 0.5)); 1051brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0xA0), 1)); 1080brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1081brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF), 1)); 1138SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1158SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1180SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1209temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC9, 0xD5, 0xDE), 0)); 1210temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE3, 0xE8), 0.35)); 1211temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB0, 0xD4, 0xE9), 1)); 1239temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE5, 0xE5, 0xE5), 0.1)); 1240temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x5D, 0xCE, 0xDD), 0.35)); 1241temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0B, 0x82, 0xC7), 1)); 1269temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xFF, 0xFF), 0.1)); 1270temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x74, 0xFF, 0xFF), 0.35)); 1271temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0xA0, 0xF3), 1)); 1301temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x95, 0xD9, 0xFC), 0)); 1302temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3A, 0x84, 0xAA), 0.35)); 1303temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x07, 0x54, 0x83), 1)); 1324SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1344SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1364SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1386temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1408temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1430temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1458brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE1, 0xE3, 0xE5), 0.25)); 1459brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE9, 0xEA), 0.5)); 1460brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 1)); 1490brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xAE, 0xB3, 0xB9), 0.25)); 1491brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC2, 0xC4, 0xC6), 0.5)); 1492brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEA, 0xEB, 0xEB), 1)); 1522brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.3)); 1523brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x79, 0xC6, 0xF9), 0.5)); 1524brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xED, 0xFD), 1)); 1554brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x54, 0xA6, 0xD5), 0.3)); 1555brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5E, 0xB5, 0xE4), 0.5)); 1556brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC4, 0xE5, 0xF6), 1)); 1586brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBF, 0xD0, 0xDD), 0)); 1587brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCB, 0xD7), 0.5)); 1588brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xBA, 0xC4, 0xCC), 1)); 1618brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x2A, 0x62, 0x8D), 0)); 1619brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1620brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1650brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 0)); 1651brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1652brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 1)); 1682brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x19, 0x3B, 0x55), 0)); 1683brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x24, 0x54, 0x79), 0.5)); 1684brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x29, 0x62, 0x8D), 1)); 1715brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB8, 0xBD), 0)); 1716brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEB, 0xEB), 1)); 1746brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x80, 0xCA, 0xF9), 0)); 1747brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xD2, 0xEE, 0xFD), 1)); 1777brush.GradientStops.Add(new GradientStop(Color.FromRgb(0x5C, 0xAA, 0xD7), 0)); 1778brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xC3, 0xE4, 0xF6), 1)); 1846temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.2)); 1847temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF7, 0xF7, 0xF7), 0.8)); 1872temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB1, 0xDF, 0xFD), 0.2)); 1873temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE9, 0xF7, 0xFE), 0.8)); 1899temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x7F, 0xBA, 0xDC), 0.2)); 1900temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xED, 0xF9), 0.8)); 1927temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xC0, 0xE5, 0xF3), 0.2)); 1928temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBD, 0xCD, 0xDC), 0.8)); 1954temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0.2)); 1955temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 0.8)); 1980temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x33, 0xD7, 0xED), 0.2)); 1981temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x20, 0x94, 0xCE), 0.8)); 2006temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x44, 0x7A), 0.2)); 2007temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 0.8));
Microsoft\Windows\Themes\ButtonChrome.cs (23)
131ColorAnimation ca = new ColorAnimation(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF), duration); 321ColorAnimation ca = new ColorAnimation(Color.FromRgb(0xC2, 0xE4, 0xF6), duration); 326ca = new ColorAnimation(Color.FromRgb(0xAB, 0xDA, 0xF3), duration); 329ca = new ColorAnimation(Color.FromRgb(0x90, 0xCB, 0xEB), duration); 332ca = new ColorAnimation(Color.FromRgb(0x2C, 0x62, 0x8B), duration); 707temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEA, 0xF6, 0xFD), 0)); 708temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD9, 0xF0, 0xFC), 0.5)); 709temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBE, 0xE6, 0xFD), 0.5)); 710temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA7, 0xD9, 0xF5), 1)); 737temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xE4, 0xF6), 0.5)); 738temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAB, 0xDA, 0xF3), 0.5)); 739temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xCB, 0xEB), 1)); 760SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 823temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 845temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 868temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 944brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFA,0xFF,0xFF,0xFF), 0)); 945brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x85,0xFF,0xFF,0xFF), 1)); 970temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF)); 1036temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1037temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1)); 1099temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x80, 0x33, 0x33, 0x33), 0)); 1100temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x33, 0x33, 0x33), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (50)
79bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 80bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 81bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xFC, 0xFD), 0.4)); 82bevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFB, 0xFC, 0xFC), 1.0)); 116background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.0)); 117background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.4)); 118background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF8, 0xFA), 0.4)); 119background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF1, 0xF2, 0xF4), 1.0)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.0)); 124background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xE4, 0xF9), 0.4)); 125background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8D, 0xD6, 0xF7), 0.4)); 126background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8A, 0xD1, 0xF5), 1.0)); 130background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.0)); 131background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xF7, 0xFF), 0.4)); 132background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xED, 0xFF), 0.4)); 133background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xE7, 0xFB), 1.0)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.0)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF9, 0xFC), 0.4)); 139background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xF1, 0xF9), 0.4)); 140background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD8, 0xEC, 0xF6), 1.0)); 192lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF2, 0xF2), 0.0)); 193lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEF, 0xEF, 0xEF), 0.4)); 194lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE7, 0xE8, 0xEA), 0.4)); 195lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1), 1.0)); 199lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.0)); 200lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7A, 0x9E, 0xB1), 0.4)); 201lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x50, 0x91, 0xAF), 0.4)); 202lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x4D, 0x8D, 0xAD), 1.0)); 206lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.0)); 207lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x88, 0xCB, 0xEB), 0.4)); 208lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 0.4)); 209lgBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3), 1.0)); 213sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 237topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.0)); 238topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x86, 0xA3, 0xB2), 0.1)); 239topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 0.9)); 240topBrush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAA, 0xCE, 0xE1), 1.0)); 254pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.0)); 255pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xCB, 0xE0), 0.4)); 256pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x72, 0xBC, 0xDF), 0.4)); 257pressedBevel.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0xB8, 0xDC), 1.0)); 290bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 294bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 298bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 365arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.0)); 366arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3C, 0x5E, 0x72), 0.1)); 367arrowBorder.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xE4, 0xF5), 1.0)); 380arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.0)); 381arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x61, 0x96, 0xB6), 0.1)); 382arrowFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE6, 0xF5), 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (8)
521SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 552brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x57, 0x94, 0xBF), 0.05)); 553brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD5, 0xEA), 0.07)); 554brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xE2, 0xF1), 1)); 587brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x3D, 0x7B, 0xAD), 0.05)); 588brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA4, 0xC9, 0xE3), 0.07)); 589brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB7, 0xD9, 0xED), 1)); 614temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (86)
142ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x21, 0x21, 0x21), duration); 144ca = new ColorAnimation(Color.FromRgb(0x57, 0x57, 0x57), duration); 146ca = new ColorAnimation(Color.FromRgb(0xB3, 0xB3, 0xB3), duration); 255ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 258ca = new ColorAnimation(Color.FromRgb(0xE3, 0xF4, 0xFC), duration); 261ca = new ColorAnimation(Color.FromRgb(0xD6, 0xEE, 0xFB), duration); 264ca = new ColorAnimation(Color.FromRgb(0xA9, 0xDB, 0xF6), duration); 267ca = new ColorAnimation(Color.FromRgb(0xA4, 0xD5, 0xEF), duration); 274ca = new ColorAnimation(Color.FromRgb(0x15, 0x30, 0x3E), duration); 277ca = new ColorAnimation(Color.FromRgb(0x3C, 0x7F, 0xB1), duration); 280ca = new ColorAnimation(Color.FromRgb(0x9C, 0xCE, 0xE9), duration); 285ca = new ColorAnimation(Color.FromRgb(0x0D, 0x2A, 0x3A), duration); 288ca = new ColorAnimation(Color.FromRgb(0x1F, 0x63, 0x8A), duration); 291ca = new ColorAnimation(Color.FromRgb(0x2E, 0x97, 0xCF), duration); 332ColorAnimation ca = new ColorAnimation(Color.FromRgb(0x15, 0x59, 0x8A), duration); 335ca = new ColorAnimation(Color.FromRgb(0xCA, 0xEC, 0xF9), duration); 338ca = new ColorAnimation(Color.FromRgb(0xAF, 0xE1, 0xF7), duration); 341ca = new ColorAnimation(Color.FromRgb(0x6F, 0xCA, 0xF0), duration); 344ca = new ColorAnimation(Color.FromRgb(0x66, 0xBA, 0xDD), duration); 351ca = new ColorAnimation(Color.FromRgb(0x0F, 0x24, 0x30), duration); 354ca = new ColorAnimation(Color.FromRgb(0x2E, 0x73, 0x97), duration); 357ca = new ColorAnimation(Color.FromRgb(0x8F, 0xB8, 0xCE), duration); 363ca = new ColorAnimation(Color.FromRgb(0x0E, 0x22, 0x2D), duration); 366ca = new ColorAnimation(Color.FromRgb(0x2F, 0x79, 0x9E), duration); 369ca = new ColorAnimation(Color.FromRgb(0x6B, 0xA0, 0xBC), duration); 822temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 823temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 824temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 825temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 852temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 853temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 854temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 855temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 880temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 881temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 882temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 883temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 909temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF3, 0xF3, 0xF3), 0)); 910temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE8, 0xE8, 0xE9), 0.5)); 911temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xD6, 0xD8), 0.5)); 912temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xBC, 0xBD, 0xC0), 1)); 937temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xE3, 0xF4, 0xFC), 0)); 938temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xD6, 0xEE, 0xFB), 0.5)); 939temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA9, 0xDB, 0xF6), 0.5)); 940temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xA4, 0xD5, 0xEF), 1)); 965temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xEC, 0xF9), 0)); 966temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAF, 0xE1, 0xF7), 0.5)); 967temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6F, 0xCA, 0xF0), 0.5)); 968temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x66, 0xBA, 0xDD), 1)); 1089temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1113temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1137temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1287temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1361temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1362temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1363temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1388temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1389temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1390temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1415temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1416temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1417temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1442temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1443temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1444temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1469temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x15, 0x30, 0x3E), 0.5)); 1470temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x3C, 0x7F, 0xB1), 0.7)); 1471temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x9C, 0xCE, 0xE9), 1)); 1496temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0F, 0x24, 0x30), 0.5)); 1497temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x73, 0x97), 0.7)); 1498temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x8F, 0xB8, 0xCE), 1)); 1525temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x70, 0x70, 0x70), 0.5)); 1526temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x76, 0x76, 0x76), 0.7)); 1527temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCB, 0xCB), 1)); 1553temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x21, 0x21), 0.5)); 1554temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x57, 0x57, 0x57), 0.7)); 1555temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB3, 0xB3, 0xB3), 1)); 1581temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0D, 0x2A, 0x3A), 0.5)); 1582temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x1F, 0x63, 0x8A), 0.7)); 1583temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2E, 0x97, 0xCF), 1)); 1609temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x0E, 0x22, 0x2D), 0.5)); 1610temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0x79, 0x9E), 0.7)); 1611temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x6B, 0xA0, 0xBC), 1)); 1697_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1698_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1699_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
44typeof(Color), 47Color.FromArgb(0x71, 0x00, 0x00, 0x00), 54public Color Color 56get { return (Color)GetValue(ColorProperty); } 111Color color = Color; 300private static GradientStopCollection CreateStops(Color c, double cornerRadius) 309Color stopColor = c; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Classic (19)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
186public RgbColor(Color color) 191public Color Color 193get { return Color.FromArgb(this.Alpha, (byte)(this.Red * 255), (byte)(this.Green * 255), (byte)(this.Blue * 255)); } 391private static Color GetControlLightLightColor(Color controlColor) 400private static Color GetControlDarkColor(Color controlColor) 413Color controlColor; 439Color darkColor = GetControlDarkColor(controlColor); 443Color darkDarkColor = new Color();
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
44typeof(Color), 47Color.FromArgb(0x71, 0x00, 0x00, 0x00), 54public Color Color 56get { return (Color)GetValue(ColorProperty); } 111Color color = Color; 300private static GradientStopCollection CreateStops(Color c, double cornerRadius) 309Color stopColor = c; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Luna (255)
Microsoft\Windows\Themes\ButtonChrome.cs (61)
568SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 592SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 617SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 722brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20,0x00,0x00,0x00), 0)); 723brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 724brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80,0xFF,0xFF,0xFF), 1)); 762brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 763brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 764brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 765brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 793brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD1, 0x8F), 0)); 794brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xCB, 0x80), 0.3)); 795brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x90, 0xC1, 0x54), 0.97)); 796brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xA7, 0x66), 1)); 824brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 825brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 826brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 827brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 855brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 856brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 857brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 858brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 886brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xC5, 0x95), 0)); 887brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xED, 0xBD, 0x96), 0.03)); 888brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.97)); 889brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCF, 0x72, 0x25), 1)); 918brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 919brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 920brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 921brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 984temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 985temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 1010temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.5)); 1011temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1036temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1037temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1062temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 1063temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 1106temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0x59,0x2F,0x00), 0.5)); 1107temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28,0x59,0x2F,0x00), 1)); 1132temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xE3, 0xD1, 0xB8), 0.5)); 1133temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xD1, 0xB8), 1)); 1158temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0x59, 0x2F, 0x00), 0.5)); 1159temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x28, 0x59, 0x2F, 0x00), 1)); 1201temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 1202temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1239temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 1240temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 1274SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1295SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1316SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED)); 1341temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE6, 0xE6, 0xE0), 0)); 1342temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xE2, 0xDA), 1)); 1367temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEE, 0xE9, 0xD5), 0)); 1368temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE4, 0xCE), 1)); 1393temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1394temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE5, 0xF0), 0.7)); 1395temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC6, 0xC5, 0xD7), 1)); 1420temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB3, 0xB2, 0xC5), 0)); 1421temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xDB, 0xE5), 0.6)); 1422temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.8));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (33)
121background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 122background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 123background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 127background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xC2, 0xB8), 0.0)); 128background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 0.1)); 129background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xD8), 1.0)); 136background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 137background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 138background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 142background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.0)); 143background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFA, 0xF9, 0xF4), 0.85)); 144background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xE9, 0xD8), 1.0)); 151background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 152background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 153background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 157background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.0)); 158background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEB, 0xEA, 0xDB), 0.85)); 159background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xC7, 0xB8), 1.0)); 206SolidColorBrush tabStrokeBrush = new SolidColorBrush((themeColor == ThemeColor.Homestead) ? Color.FromArgb(0xFF, 0xCF, 0x72, 0x25) : Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 223tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 0.0)); 224tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0x91, 0x4F), 1.0)); 228tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 229tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 230tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 231tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 249border = new SolidColorBrush((themeColor == ThemeColor.Metallic) ? Color.FromArgb(0xFF, 0x80, 0x80, 0x99) : Color.FromArgb(0xFF, 0xA5, 0xA5, 0x97)); 277Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 278Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 357arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (133)
670temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEA, 0xFE), 0)); 671temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.3)); 672temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD3, 0xFD), 0.6)); 673temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBB, 0xCD, 0xF9), 1)); 698temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 699temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 700temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 725temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC9, 0xD8, 0xFC), 0)); 726temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC2, 0xD3, 0xFC), 0.65)); 727temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB6, 0xCD, 0xFB), 1)); 752temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFD, 0xFF, 0xFF), 0)); 753temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE2, 0xF3, 0xFD), 0.25)); 754temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xDA, 0xFB), 1)); 779temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 780temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 781temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 807temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDA, 0xE9, 0xFF), 0)); 808temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD4, 0xE6, 0xFF), 0.65)); 809temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xE0, 0xFF), 1)); 834temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x6E, 0x8E, 0xF1), 0)); 835temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x80, 0x9D, 0xF1), 0.3)); 836temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xAF, 0xBF, 0xED), 0.7)); 837temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD2, 0xDE, 0xEB), 1)); 862temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 863temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 864temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 889temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA8, 0xBE, 0xF5), 0)); 890temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA1, 0xBD, 0xFA), 0.65)); 891temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x98, 0xB0, 0xEE), 1)); 916temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 917temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 918temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 919temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 944temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA2, 0xB3, 0x8D), 0)); 945temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.25)); 946temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA5, 0xB7, 0x8E), 0.4)); 947temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xA7, 0x75), .82)); 972temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 973temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 974temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 975temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 1001temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCA, 0xD7, 0xA7), 0)); 1002temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.25)); 1003temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCB, 0xD9, 0xA9), 0.4)); 1004temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xD0, 0x96), .82)); 1029temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1030temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1031temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1032temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1057temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x92, 0xA4, 0x7A), 0)); 1058temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.25)); 1059temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9A, 0xAD, 0x80), 0.4)); 1060temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x95, 0xAA, 0x72), 0.8)); 1085temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1086temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1087temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1088temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1089temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1114temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 1115temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.25)); 1116temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE9, 0xE9, 0xEE), 0.4)); 1117temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDB, 0xDB, 0xE6), 0.6)); 1118temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC7, 0xC8, 0xD6), 0.9)); 1145temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1146temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1147temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1148temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1149temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1174temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.18)); 1175temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.3)); 1176temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.45)); 1177temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.6)); 1178temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 1)); 1204temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1205temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1206temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1207temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1208temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1209temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1234temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.12)); 1235temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC3, 0xC5, 0xD6), 0.12)); 1236temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDC, 0xDD, 0xE8), 0.48)); 1237temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.58)); 1238temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xED, 0xF4), 0.7)); 1239temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.9)); 1264temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF7, 0xF7, 0xF7), 0)); 1265temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF0, 0xF0, 0xF0), 0.3)); 1266temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xEC), 0.6)); 1267temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xE3, 0xE3), 1)); 1390SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1411SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1440SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1461SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1482SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1503SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1524SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1545SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1566SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1587SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1608SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1684SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1705SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1726SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1747SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1768SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1789SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1810SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1831SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1894temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1916temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1938temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)); 1960temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)); 1982temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)); 2039temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)); 2061temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)); 2085temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)); 2107temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)); 2129temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)); 2151temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)); 2173temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)); 2196temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 2218temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2240temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2263temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2338brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xCC, 0xCC, 0xBA), 0)); 2339brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCC, 0xCC, 0xBA), 0.5)); 2340brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC4, 0xC4, 0xAF), 1)); 2370brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xA0, 0xB5, 0xD3), 0)); 2371brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA0, 0xB5, 0xD3), 0.5)); 2372brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x7C, 0x9F, 0xD3), 1)); 2402brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xB6, 0xC1, 0xA6), 0)); 2403brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x9B, 0xB1, 0x81), 0.5)); 2404brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x8B, 0x93, 0x77), 1));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
551SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 571SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 596temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 597temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 598temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 620temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 621temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 650SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 714brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 715brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 745brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 746brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 794temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 795temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 822temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 823temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 845SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 871temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 872temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 1));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
44typeof(Color), 47Color.FromArgb(0x71, 0x00, 0x00, 0x00), 54public Color Color 56get { return (Color)GetValue(ColorProperty); } 111Color color = Color; 300private static GradientStopCollection CreateStops(Color c, double cornerRadius) 309Color stopColor = c; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
PresentationFramework.Royale (101)
Microsoft\Windows\Themes\ButtonChrome.cs (28)
483SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9)); 581brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x20,0x00,0x00,0x00), 0)); 582brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 583brush.GradientStops.Add(new GradientStop(Color.FromArgb(0x80,0xFF,0xFF,0xFF), 1)); 621brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xCE, 0xE7, 0xFF), 0)); 622brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBC, 0xD4, 0xF6), 0.3)); 623brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x89, 0xAD, 0xE4), 0.97)); 624brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0x69, 0x82, 0xEE), 1)); 653brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xF0, 0xCF), 0)); 654brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xD2, 0x79), 0.03)); 655brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF8, 0xB7, 0x3B), 0.75)); 656brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE5, 0x97, 0x00), 1)); 706temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 707temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x35,0x59,0x2F,0x00), 1)); 732temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF), 0.6)); 733temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 1)); 771temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 772temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 809temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0x97,0x8B,0x72), 1)); 810temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 847temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xFF,0xFF,0xFF), 1)); 848temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.5)); 873temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF,0xAA,0x9D,0x87), 1)); 874temp.GradientStops.Add(new GradientStop(Color.FromArgb(0x00,0xFF,0xFF,0xFF), 0.6)); 922temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 923temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE3, 0xEB, 0xF3), 0.5)); 924temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD0, 0xDC, 0xEB), 0.5)); 925temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xA6, 0xB8, 0xCF), 1));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (20)
75background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xC8), 0.0)); 76background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 0.1)); 77background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xEC, 0xEC, 0xF3), 1.0)); 81background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.0)); 82background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFE, 0xFE, 0xFE), 0.85)); 83background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 87background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.0)); 88background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF9, 0xFA, 0xFD), 0.85)); 89background.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xBE, 0xCE), 1.0)); 135SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 151tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFC, 0xE0, 0xA6), 0.0)); 152tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.1)); 153tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF6, 0xC4, 0x56), 0.9)); 154tabFill.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xDF, 0x97, 0x00), 1.0)); 171border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 199Color highlight = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 200Color shadow = Color.FromArgb(0xFF, 0xC7, 0xC5, 0xB2); 279arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (25)
628temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 629temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 0.8)); 654temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0)); 655temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 681temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 682temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xBD, 0xD1, 0xE9), 1)); 707temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 708temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 1)); 733temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.2)); 734temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 759temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), 0.3)); 760temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xC1, 0xD5, 0xED), 0.7)); 785temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xF2, 0xF7, 0xFF), 0)); 786temp.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xD5, 0xE7, 0xFF), 1)); 839SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 861SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 882SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 903SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 950SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 971SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1015brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xE1, 0xEE, 0xFF), 0.5)); 1016brush.GradientStops.Add(new GradientStop(Color.FromArgb(0xFF, 0xB1, 0xC5, 0xDD), 1)); 1040temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)); 1062temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)); 1100temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (19)
551SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 571SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 596temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x60, 0xCF, 0x5D), 0)); 597temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xAC, 0xEF, 0xAA), 0.302469134)); 598temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x13, 0x92, 0x10), 1)); 620temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xB2, 0xB2, 0xA9), 0)); 621temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xEB, 0xEA, 0xDA), 1)); 650SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 714brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFF, 0xF0, 0xCF), 0)); 715brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF8, 0xB3, 0x30), 1)); 745brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xFE, 0xDF, 0x9C), 0)); 746brush.GradientStops.Add(new GradientStop(Color.FromRgb(0xF9, 0xBB, 0x43), 1)); 794temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xCB, 0xCF, 0xD5), 0.3)); 795temp.GradientStops.Add(new GradientStop(Color.FromRgb(0xF6, 0xF6, 0xF6), 1)); 822temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x2F, 0xA8, 0xD5), 0)); 823temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x25, 0x59, 0x8C), 1)); 845SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 871temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x17, 0x74, 0x7A), 0)); 872temp.GradientStops.Add(new GradientStop(Color.FromRgb(0x21, 0x8B, 0xC3), 1));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
44typeof(Color), 47Color.FromArgb(0x71, 0x00, 0x00, 0x00), 54public Color Color 56get { return (Color)GetValue(ColorProperty); } 111Color color = Color; 300private static GradientStopCollection CreateStops(Color c, double cornerRadius) 309Color stopColor = c; 331private static Brush[] CreateBrushes(Color c, CornerRadius cornerRadius) 436private Brush[] GetBrushes(Color c, CornerRadius cornerRadius)
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
73static Color ConnectionPointColor = Colors.LightGray;
System.Activities.Presentation (61)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
26Color color = new Color(); 37Color startingColor = new Color(); 42Color endingColor = new Color();
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (58)
182if (SystemColors.ControlColor == Colors.Black && SystemColors.ControlTextColor == Color.FromArgb(0xff, 0x00, 0xff, 0x00)) 192public static Color WorkflowViewElementBorderColor 200public static Color WorkflowViewElementBackgroundColor 207public static Color WorkflowViewElementSelectedBackgroundColor 215public static Color GridViewRowHoverColor 223public static Color WorkflowViewElementSelectedBorderColor 230public static Color DesignerViewStatusBarBackgroundColor 237public static Color WorkflowViewElementCaptionColor 244public static Color WorkflowViewElementSelectedCaptionColor 255public static Color DesignerViewBackgroundColor 263public static Color DesignerViewShellBarColorGradientBeginColor 268public static Color DesignerViewShellBarColorGradientEndColor 273public static Color DesignerViewShellBarSelectedColorGradientBeginColor 278public static Color DesignerViewShellBarSelectedColorGradientEndColor 283public static Color DesignerViewShellBarHoverColorGradientBeginColor 288public static Color DesignerViewShellBarHoverColorGradientEndColor 293public static Color DesignerViewShellBarControlBackgroundColor 298public static Color DesignerViewShellBarCaptionActiveColor 303public static Color DesignerViewShellBarCaptionColor 323public static Color PropertyToolBarHightlightedButtonForegroundColor 334public static Color ActivityDesignerSelectedTitleForegroundColor 338public static Color ContextMenuBackgroundGradientBeginColor 342public static Color ContextMenuBackgroundGradientEndColor 347public static Color ContextMenuBorderColor 352public static Color ContextMenuIconAreaColor 357public static Color ContextMenuMouseOverBeginColor 362public static Color ContextMenuMouseOverMiddle1Color 367public static Color ContextMenuMouseOverMiddle2Color 372public static Color ContextMenuMouseOverEndColor 377public static Color ContextMenuMouseOverBorderColor 382public static Color ContextMenuItemTextColor 387public static Color ContextMenuItemTextHoverColor 392public static Color ContextMenuItemTextHoverQuirkedColor 404public static Color ContextMenuItemTextSelectedColor 409public static Color ContextMenuItemTextDisabledColor 414public static Color ContextMenuSeparatorColor 419public static Color FlowchartConnectorColor 446public static Color AnnotationBackgroundGradientBeginColor 451public static Color AnnotationBackgroundGradientMiddleColor 456public static Color AnnotationBackgroundGradientEndColor 461public static Color AnnotationBorderColor 466public static Color AnnotationDockTextColor 471public static Color AnnotationUndockTextColor 476public static Color AnnotationDockButtonColor 481public static Color AnnotationDockButtonHoverColor 486public static Color AnnotationDockButtonHoverBorderColor 491public static Color AnnotationDockButtonHoverBackgroundColor 496public static Color OutlineViewItemHighlightBackgroundColor 501public static Color OutlineViewCollapsedArrowBorderColor 506public static Color OutlineViewCollapsedArrowHoverBorderColor 511public static Color OutlineViewExpandedArrowColor 516public static Color OutlineViewExpandedArrowBorderColor 521public static Color OutlineViewBackgroundColor 526public static Color OutlineViewItemSelectedTextColor 531public static Color OutlineViewItemTextColor 577private static Color GetColor(string colorKey) 584private static Color GetColor(string colorKey, byte alpha) 586Color color = GetColor(colorKey);