9 writes to Trimming
System.Drawing.Common.Tests (5)
mono\System.Drawing\GraphicsTests.cs (2)
2092
fmt.
Trimming
= StringTrimming.EllipsisWord;
2108
fmt.
Trimming
= StringTrimming.EllipsisWord;
System\Drawing\StringFormatTests.cs (3)
366
using StringFormat format = new() {
Trimming
= trimming };
376
Assert.ThrowsAny<ArgumentException>(() => format.
Trimming
= trimming);
386
AssertExtensions.Throws<ArgumentException>(null, () => format.
Trimming
= StringTrimming.Word);
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
77
Trimming
= GdiPlusTrimming,
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
678
format.
Trimming
= StringTrimming.None;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1602
Trimming
= StringTrimming.None
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2558
stringFormat.
Trimming
= StringTrimming.EllipsisCharacter;
10 references to Trimming
System.Drawing.Common.Tests (9)
System\Drawing\StringFormatTests.cs (9)
23
Assert.Equal(StringTrimming.Character, format.
Trimming
);
38
Assert.Equal(StringTrimming.Character, format.
Trimming
);
54
Assert.Equal(StringTrimming.Character, format.
Trimming
);
68
Assert.Equal(StringTrimming.Character, format.
Trimming
);
109
Assert.Equal(StringTrimming.Character, format.
Trimming
);
367
Assert.Equal(trimming, format.
Trimming
);
385
AssertExtensions.Throws<ArgumentException>(null, () => format.
Trimming
);
401
Assert.Equal(StringTrimming.Character, format.
Trimming
);
416
Assert.Equal(StringTrimming.None, format.
Trimming
);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
93
GdiPlusTrimming = value.
Trimming
;