16 writes to a
PresentationCore (16)
System\Windows\Media\Color.cs (16)
45
c1.sRgbColor.
a
= 255;
95
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
120
c1.sRgbColor.
a
= (byte)((argb & 0xff000000) >> 24);
155
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
178
c1.sRgbColor.
a
= a;
363
sRgbColor.
a
= (byte)(scRgbColor.a * 255f);
476
c1.sRgbColor.
a
= 0;
481
c1.sRgbColor.
a
= 255;
485
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
595
c1.sRgbColor.
a
= 0;
600
c1.sRgbColor.
a
= 255;
604
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
809
sRgbColor.
a
= value;
901
sRgbColor.
a
= 0;
905
sRgbColor.
a
= (byte)255;
909
sRgbColor.
a
= (byte)(value * 255f);
3 references to a
PresentationCore (3)
System\Windows\Media\Color.cs (3)
124
c1.scRgbColor.a = (float)c1.sRgbColor.
a
/ 255.0f;
274
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.
a
:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}");
804
return sRgbColor.
a
;