19 writes to FormatFlags
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
628
stringFormat.
FormatFlags
= StringFormatFlags.DirectionRightToLeft;
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (5)
1686
string_format.
FormatFlags
= StringFormatFlags.DirectionVertical;
1750
string_format.
FormatFlags
= StringFormatFlags.DirectionVertical;
1897
string_format.
FormatFlags
= StringFormatFlags.NoClip;
1920
string_format.
FormatFlags
= StringFormatFlags.NoClip;
2091
fmt.
FormatFlags
= StringFormatFlags.NoWrap;
mono\System.Imaging\MetafileTest.cs (1)
313
FormatFlags
= StringFormatFlags.NoClip
System\Drawing\StringFormatTests.cs (4)
71
original.
FormatFlags
= StringFormatFlags.NoFontFallback;
112
original.
FormatFlags
= StringFormatFlags.NoFontFallback;
290
using StringFormat format = new() {
FormatFlags
= formatFlags };
301
AssertExtensions.Throws<ArgumentException>(null, () => format.
FormatFlags
= StringFormatFlags.NoClip);
System.Windows.Forms (8)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
76
FormatFlags
= GdiPlusFormatFlags,
85
format.
FormatFlags
|= StringFormatFlags.NoWrap;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
483
format.
FormatFlags
|= StringFormatFlags.DirectionRightToLeft;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (2)
669
format.
FormatFlags
|= StringFormatFlags.DirectionRightToLeft;
674
format.
FormatFlags
|= StringFormatFlags.NoWrap;
System\Windows\Forms\Rendering\ControlPaint.cs (3)
2553
stringFormat.
FormatFlags
|= StringFormatFlags.DirectionRightToLeft;
2559
stringFormat.
FormatFlags
|= StringFormatFlags.LineLimit;
2577
stringFormat.
FormatFlags
|= StringFormatFlags.MeasureTrailingSpaces;
12 references to FormatFlags
System.Drawing.Common.Tests (11)
System\Drawing\StringFormatTests.cs (11)
20
Assert.Equal((StringFormatFlags)0, format.
FormatFlags
);
35
Assert.Equal(options, format.
FormatFlags
);
51
Assert.Equal(options, format.
FormatFlags
);
65
Assert.Equal(StringFormatFlags.NoClip, format.
FormatFlags
);
72
Assert.Equal(StringFormatFlags.NoClip, format.
FormatFlags
);
106
Assert.Equal(StringFormatFlags.NoClip, format.
FormatFlags
);
113
Assert.Equal(StringFormatFlags.NoClip, format.
FormatFlags
);
291
Assert.Equal(formatFlags, format.
FormatFlags
);
300
AssertExtensions.Throws<ArgumentException>(null, () => format.
FormatFlags
);
398
Assert.Equal((StringFormatFlags)0, format.
FormatFlags
);
413
Assert.Equal(StringFormatFlags.FitBlackBox | StringFormatFlags.LineLimit | StringFormatFlags.NoClip, format.
FormatFlags
);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
92
GdiPlusFormatFlags = value.
FormatFlags
;