18 writes to LineAlignment
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
627stringFormat.LineAlignment = StringAlignment.Near;
System.Drawing.Common.Tests (11)
mono\System.Drawing\GraphicsTests.cs (8)
1719string_format.LineAlignment = StringAlignment.Near; 1724string_format.LineAlignment = StringAlignment.Center; 1729string_format.LineAlignment = StringAlignment.Far; 1752string_format.LineAlignment = StringAlignment.Near; 1757string_format.LineAlignment = StringAlignment.Center; 1762string_format.LineAlignment = StringAlignment.Far; 2090fmt.LineAlignment = StringAlignment.Center; 2107fmt.LineAlignment = StringAlignment.Center;
System\Drawing\StringFormatTests.cs (3)
310using StringFormat format = new() { LineAlignment = alignment }; 320Assert.ThrowsAny<ArgumentException>(() => format.LineAlignment = alignment); 330AssertExtensions.Throws<ArgumentException>(null, () => format.LineAlignment = StringAlignment.Center);
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
80LineAlignment = GdiPlusLineAlignment
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
606LineAlignment = StringAlignment.Center
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2543LineAlignment = (textAlign & AnyBottom) != 0
System.Windows.Forms.Design (3)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
36LineAlignment = StringAlignment.Center
System\Drawing\Design\FontNameEditor.cs (1)
76LineAlignment = StringAlignment.Far
System\Windows\Forms\Design\ControlDesigner.cs (1)
2234LineAlignment = StringAlignment.Near
10 references to LineAlignment
System.Drawing.Common.Tests (9)
System\Drawing\StringFormatTests.cs (9)
22Assert.Equal(StringAlignment.Near, format.LineAlignment); 37Assert.Equal(StringAlignment.Near, format.LineAlignment); 53Assert.Equal(StringAlignment.Near, format.LineAlignment); 67Assert.Equal(StringAlignment.Near, format.LineAlignment); 108Assert.Equal(StringAlignment.Near, format.LineAlignment); 311Assert.Equal(alignment, format.LineAlignment); 329AssertExtensions.Throws<ArgumentException>(null, () => format.LineAlignment); 400Assert.Equal(StringAlignment.Near, format.LineAlignment); 415Assert.Equal(StringAlignment.Near, format.LineAlignment);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
96GdiPlusLineAlignment = value.LineAlignment;