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