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