21 references to Center
System.Drawing.Common.Tests (13)
mono\System.Drawing\GraphicsTests.cs (9)
1660string_format.Alignment = StringAlignment.Center; 1693string_format.Alignment = StringAlignment.Center; 1724string_format.LineAlignment = StringAlignment.Center; 1757string_format.LineAlignment = StringAlignment.Center; 2089fmt.Alignment = StringAlignment.Center; 2090fmt.LineAlignment = StringAlignment.Center; 2106fmt.Alignment = StringAlignment.Center; 2107fmt.LineAlignment = StringAlignment.Center; 2120format.Alignment = StringAlignment.Center;
System\Drawing\StringFormatTests.cs (4)
238[InlineData(StringAlignment.Center)] 263AssertExtensions.Throws<ArgumentException>(null, () => format.Alignment = StringAlignment.Center); 305[InlineData(StringAlignment.Center)] 330AssertExtensions.Throws<ArgumentException>(null, () => format.LineAlignment = StringAlignment.Center);
System.Windows.Forms (4)
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
605Alignment = StringAlignment.Center, 606LineAlignment = StringAlignment.Center
System\Windows\Forms\Rendering\ControlPaint.cs (2)
2542: (textAlign & AnyCenter) != 0 ? StringAlignment.Center : StringAlignment.Near, 2545: (textAlign & AnyMiddle) != 0 ? StringAlignment.Center : StringAlignment.Near
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
607format.Alignment = StringAlignment.Center;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (2)
35Alignment = StringAlignment.Center, 36LineAlignment = StringAlignment.Center
System\Windows\Forms\Design\ComponentTray.cs (1)
2283format.Alignment = StringAlignment.Center;