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)
1143public 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)
2095fmt.Trimming = StringTrimming.EllipsisWord; 2111fmt.Trimming = StringTrimming.EllipsisWord;
System\Drawing\StringFormatTests.cs (13)
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); 363[InlineData(StringTrimming.Word)] 364public void Trimming_SetValid_GetReturnsExpected(StringTrimming trimming) 371[InlineData(StringTrimming.None - 1)] 372[InlineData(StringTrimming.EllipsisPath + 1)] 373public void Trimming_SetInvalid_ThrowsInvalidEnumArgumentException(StringTrimming trimming) 386AssertExtensions.Throws<ArgumentException>(null, () => format.Trimming = StringTrimming.Word); 401Assert.Equal(StringTrimming.Character, format.Trimming); 416Assert.Equal(StringTrimming.None, format.Trimming);
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
52public StringTrimming GdiPlusTrimming { get; set; }
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;