4 writes to _nativeFormat
System.Drawing.Common (4)
System\Drawing\StringFormat.cs (4)
17private StringFormat(GpStringFormat* format) => _nativeFormat = format; 41_nativeFormat = format; 53_nativeFormat = newFormat; 91_nativeFormat = null;
22 references to _nativeFormat
System.Drawing.Common (22)
System\Drawing\PointerExtensions.cs (1)
15public static GpStringFormat* Pointer(this StringFormat? format) => format is null ? null : format._nativeFormat;
System\Drawing\StringFormat.cs (21)
52PInvokeGdiPlus.GdipCloneStringFormat(format._nativeFormat, &newFormat).ThrowIfFailed(); 68if (_nativeFormat is not null) 75PInvokeGdiPlus.GdipDeleteStringFormat(_nativeFormat); 109PInvokeGdiPlus.GdipGetStringFormatFlags(_nativeFormat, (int*)&format).ThrowIfFailed(); 115PInvokeGdiPlus.GdipSetStringFormatFlags(_nativeFormat, (int)value).ThrowIfFailed(); 133_nativeFormat, 149PInvokeGdiPlus.GdipGetStringFormatAlign(_nativeFormat, (GdiPlus.StringAlignment*)&alignment).ThrowIfFailed(); 160PInvokeGdiPlus.GdipSetStringFormatAlign(_nativeFormat, (GdiPlus.StringAlignment)value).ThrowIfFailed(); 173PInvokeGdiPlus.GdipGetStringFormatLineAlign(_nativeFormat, (GdiPlus.StringAlignment*)&alignment).ThrowIfFailed(); 184PInvokeGdiPlus.GdipSetStringFormatLineAlign(_nativeFormat, (GdiPlus.StringAlignment)value).ThrowIfFailed(); 197PInvokeGdiPlus.GdipGetStringFormatHotkeyPrefix(_nativeFormat, (int*)&hotkeyPrefix).ThrowIfFailed(); 208PInvokeGdiPlus.GdipSetStringFormatHotkeyPrefix(_nativeFormat, (int)value).ThrowIfFailed(); 231_nativeFormat, 245PInvokeGdiPlus.GdipGetStringFormatTabStopCount(_nativeFormat, &count).ThrowIfFailed(); 258PInvokeGdiPlus.GdipGetStringFormatTabStops(_nativeFormat, count, fto, ts).ThrowIfFailed(); 275PInvokeGdiPlus.GdipGetStringFormatTrimming(_nativeFormat, (GdiPlus.StringTrimming*)&trimming).ThrowIfFailed(); 286PInvokeGdiPlus.GdipSetStringFormatTrimming(_nativeFormat, (GdiPlus.StringTrimming)value).ThrowIfFailed(); 345_nativeFormat, 361_nativeFormat, 378PInvokeGdiPlus.GdipGetStringFormatDigitSubstitution(_nativeFormat, &language, null).ThrowIfFailed(); 387PInvokeGdiPlus.GdipGetStringFormatMeasurableCharacterRangeCount(_nativeFormat, &count).ThrowIfFailed();