4 writes to nativeFormat
System.Drawing (4)
commonui\System\Drawing\Advanced\StringFormat.cs (4)
111nativeFormat = format; 143int status = SafeNativeMethods.Gdip.GdipCreateStringFormat(options, language, out nativeFormat); 164int status = SafeNativeMethods.Gdip.GdipCloneStringFormat(new HandleRef(format, format.nativeFormat), out nativeFormat); 200nativeFormat = IntPtr.Zero;
38 references to nativeFormat
System.Drawing (38)
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
1372new HandleRef(format, (format != null) ? format.nativeFormat : IntPtr.Zero)); 1395new HandleRef(format, (format != null) ? format.nativeFormat : IntPtr.Zero)); 1417new HandleRef(format, (format != null) ? format.nativeFormat : IntPtr.Zero)); 1439new HandleRef(format, (format != null) ? format.nativeFormat : IntPtr.Zero));
commonui\System\Drawing\Advanced\StringFormat.cs (28)
164int status = SafeNativeMethods.Gdip.GdipCloneStringFormat(new HandleRef(format, format.nativeFormat), out nativeFormat); 182if (nativeFormat != IntPtr.Zero) { 187SafeNativeMethods.Gdip.GdipDeleteStringFormat(new HandleRef(this, nativeFormat)); 214int status = SafeNativeMethods.Gdip.GdipCloneStringFormat(new HandleRef(this, nativeFormat), out cloneFormat); 233int status = SafeNativeMethods.Gdip.GdipGetStringFormatFlags(new HandleRef(this, nativeFormat), out format); 241Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 242int status = SafeNativeMethods.Gdip.GdipSetStringFormatFlags(new HandleRef(this, nativeFormat), value); 258int status = SafeNativeMethods.Gdip.GdipSetStringFormatMeasurableCharacterRanges(new HandleRef(this, nativeFormat), ranges.Length, ranges); 273Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 274int status = SafeNativeMethods.Gdip.GdipGetStringFormatAlign(new HandleRef(this, nativeFormat), out alignment); 288Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 289int status = SafeNativeMethods.Gdip.GdipSetStringFormatAlign(new HandleRef(this, nativeFormat), value); 304Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 305int status = SafeNativeMethods.Gdip.GdipGetStringFormatLineAlign(new HandleRef(this, nativeFormat), out alignment); 317Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 318int status = SafeNativeMethods.Gdip.GdipSetStringFormatLineAlign(new HandleRef(this, nativeFormat), value); 334Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 335int status = SafeNativeMethods.Gdip.GdipGetStringFormatHotkeyPrefix(new HandleRef(this, nativeFormat), out hotkeyPrefix); 349Debug.Assert(nativeFormat != IntPtr.Zero, "NativeFormat is null!"); 350int status = SafeNativeMethods.Gdip.GdipSetStringFormatHotkeyPrefix(new HandleRef(this, nativeFormat), value); 365int status = SafeNativeMethods.Gdip.GdipSetStringFormatTabStops(new HandleRef(this, nativeFormat), firstTabOffset, tabStops.Length, tabStops); 378int status = SafeNativeMethods.Gdip.GdipGetStringFormatTabStopCount(new HandleRef(this, nativeFormat), out count); 384status = SafeNativeMethods.Gdip.GdipGetStringFormatTabStops(new HandleRef(this, nativeFormat), count, out firstTabOffset, tabStops); 404int status = SafeNativeMethods.Gdip.GdipGetStringFormatTrimming(new HandleRef(this, nativeFormat), out trimming); 418int status = SafeNativeMethods.Gdip.GdipSetStringFormatTrimming(new HandleRef(this, nativeFormat), value); 483int status = SafeNativeMethods.Gdip.GdipSetStringFormatDigitSubstitution(new HandleRef(this, nativeFormat), language, substitute); 499int status = SafeNativeMethods.Gdip.GdipGetStringFormatDigitSubstitution(new HandleRef(this, nativeFormat), out lang, out digitSubstitute); 517int status = SafeNativeMethods.Gdip.GdipGetStringFormatDigitSubstitution(new HandleRef(this, nativeFormat), out language, out digitSubstitute);
commonui\System\Drawing\Graphics.cs (6)
2501IntPtr nativeStringFormat = (format == null) ? IntPtr.Zero : format.nativeFormat; 2527new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.nativeFormat), 2558new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.nativeFormat), 2594new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.nativeFormat), 2641int status = SafeNativeMethods.Gdip.GdipGetStringFormatMeasurableCharacterRangeCount(new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.nativeFormat) 2660new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.nativeFormat),