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