4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
50c1.nativeColorValue = new float[c1.context.NumChannels]; 412c1.nativeColorValue = new float[c1.context.NumChannels]; 529c1.nativeColorValue = new float[c1.context.NumChannels]; 1096this.nativeColorValue = new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
51for (int i = 0; i < c1.nativeColorValue.Length; i++) 53c1.nativeColorValue[i] = 0.0f; 74if (values.Length != c1.nativeColorValue.Length) 81c1.nativeColorValue[numChannels] = values[numChannels]; 299for (int i = 0; i < nativeColorValue.Length; ++i ) 301sb.AppendFormat(provider,"{0:" + format + "}",nativeColorValue[i]); 302if (i < nativeColorValue.Length - 1) 336if (context == null || color.nativeColorValue == null) 344for (int i = 0; i < color.nativeColorValue.Length; i++) 345result = result && FloatUtil.AreClose(nativeColorValue[i], color.nativeColorValue[i]); 377return (float[])nativeColorValue.Clone(); 413for (int i = 0; i < c1.nativeColorValue.Length; i++) 415c1.nativeColorValue[i] = color1.nativeColorValue[i] + color2.nativeColorValue[i]; 425colorTransform.Translate(c1.nativeColorValue, sRGBValue); 530for (int i = 0; i < c1.nativeColorValue.Length; i++) 532c1.nativeColorValue[i] = color1.nativeColorValue[i] - color2.nativeColorValue[i]; 542colorTransform.Translate(c1.nativeColorValue, sRGBValue); 727if (color1.nativeColorValue == null && color2.nativeColorValue == null) 732if (color1.nativeColorValue == null || color2.nativeColorValue == null) 737if (color1.nativeColorValue.Length != color2.nativeColorValue.Length) 742for (int i = 0; i < color1.nativeColorValue.Length; i++) 744if (color1.nativeColorValue[i] != color2.nativeColorValue[i]) 1086colorTransform.Translate(this.nativeColorValue, scRGBValue); 1097if (this.nativeColorValue.Length > 0) 1102colorTransform.Translate(sRGBValue, this.nativeColorValue);