19 writes to Alignment
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (9)
1655string_format.Alignment = StringAlignment.Near; 1660string_format.Alignment = StringAlignment.Center; 1665string_format.Alignment = StringAlignment.Far; 1688string_format.Alignment = StringAlignment.Near; 1693string_format.Alignment = StringAlignment.Center; 1698string_format.Alignment = StringAlignment.Far; 2089fmt.Alignment = StringAlignment.Center; 2106fmt.Alignment = StringAlignment.Center; 2120format.Alignment = StringAlignment.Center;
System\Drawing\StringFormatTests.cs (3)
243using StringFormat format = new() { Alignment = alignment }; 253Assert.ThrowsAny<ArgumentException>(() => format.Alignment = alignment); 263AssertExtensions.Throws<ArgumentException>(null, () => format.Alignment = StringAlignment.Center);
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
79Alignment = GdiPlusAlignment,
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
605Alignment = StringAlignment.Center,
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2540Alignment = (textAlign & AnyRight) != 0
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
607format.Alignment = StringAlignment.Center;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
35Alignment = StringAlignment.Center,
System\Windows\Forms\Design\ComponentTray.cs (1)
2283format.Alignment = StringAlignment.Center;
System\Windows\Forms\Design\ControlDesigner.cs (1)
2233Alignment = StringAlignment.Near,
10 references to Alignment
System.Drawing.Common.Tests (9)
System\Drawing\StringFormatTests.cs (9)
17Assert.Equal(StringAlignment.Near, format.Alignment); 32Assert.Equal(StringAlignment.Near, format.Alignment); 48Assert.Equal(StringAlignment.Near, format.Alignment); 62Assert.Equal(StringAlignment.Near, format.Alignment); 103Assert.Equal(StringAlignment.Near, format.Alignment); 244Assert.Equal(alignment, format.Alignment); 262AssertExtensions.Throws<ArgumentException>(null, () => format.Alignment); 395Assert.Equal(StringAlignment.Near, format.Alignment); 410Assert.Equal(StringAlignment.Near, format.Alignment);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
95GdiPlusAlignment = value.Alignment;