16 writes to a
PresentationCore (16)
System\Windows\Media\Color.cs (16)
43
c1.sRgbColor.
a
= 255;
93
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
118
c1.sRgbColor.
a
= (byte)((argb & 0xff000000) >> 24);
153
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
176
c1.sRgbColor.
a
= a;
361
sRgbColor.
a
= (byte)(scRgbColor.a * 255f);
472
c1.sRgbColor.
a
= 0;
477
c1.sRgbColor.
a
= 255;
481
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
589
c1.sRgbColor.
a
= 0;
594
c1.sRgbColor.
a
= 255;
598
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
800
sRgbColor.
a
= value;
892
sRgbColor.
a
= 0;
896
sRgbColor.
a
= (byte)255;
900
sRgbColor.
a
= (byte)(value * 255f);
3 references to a
PresentationCore (3)
System\Windows\Media\Color.cs (3)
122
c1.scRgbColor.a = (float)c1.sRgbColor.
a
/ 255.0f;
272
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.
a
:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}");
795
return sRgbColor.
a
;