21 references to StringTrimming
System.Drawing (1)
System.Drawing.cs (1)
152
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.
StringTrimming
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
1143
public System.Drawing.
StringTrimming
Trimming { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (15)
mono\System.Drawing\GraphicsTests.cs (2)
2092
fmt.Trimming =
StringTrimming
.EllipsisWord;
2108
fmt.Trimming =
StringTrimming
.EllipsisWord;
System\Drawing\StringFormatTests.cs (13)
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);
363
[InlineData(
StringTrimming
.Word)]
364
public void Trimming_SetValid_GetReturnsExpected(
StringTrimming
trimming)
371
[InlineData(
StringTrimming
.None - 1)]
372
[InlineData(
StringTrimming
.EllipsisPath + 1)]
373
public void Trimming_SetInvalid_ThrowsInvalidEnumArgumentException(
StringTrimming
trimming)
386
AssertExtensions.Throws<ArgumentException>(null, () => format.Trimming =
StringTrimming
.Word);
401
Assert.Equal(
StringTrimming
.Character, format.Trimming);
416
Assert.Equal(
StringTrimming
.None, format.Trimming);
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
52
public
StringTrimming
GdiPlusTrimming { get; set; }
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;