27 references to Near
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
627stringFormat.LineAlignment = StringAlignment.Near;
System.Drawing.Common.Tests (22)
mono\System.Drawing\GraphicsTests.cs (4)
1655string_format.Alignment = StringAlignment.Near; 1688string_format.Alignment = StringAlignment.Near; 1719string_format.LineAlignment = StringAlignment.Near; 1752string_format.LineAlignment = StringAlignment.Near;
System\Drawing\StringFormatTests.cs (18)
17Assert.Equal(StringAlignment.Near, format.Alignment); 22Assert.Equal(StringAlignment.Near, format.LineAlignment); 32Assert.Equal(StringAlignment.Near, format.Alignment); 37Assert.Equal(StringAlignment.Near, format.LineAlignment); 48Assert.Equal(StringAlignment.Near, format.Alignment); 53Assert.Equal(StringAlignment.Near, format.LineAlignment); 62Assert.Equal(StringAlignment.Near, format.Alignment); 67Assert.Equal(StringAlignment.Near, format.LineAlignment); 103Assert.Equal(StringAlignment.Near, format.Alignment); 108Assert.Equal(StringAlignment.Near, format.LineAlignment); 240[InlineData(StringAlignment.Near)] 248[InlineData(StringAlignment.Near - 1)] 307[InlineData(StringAlignment.Near)] 315[InlineData(StringAlignment.Near - 1)] 395Assert.Equal(StringAlignment.Near, format.Alignment); 400Assert.Equal(StringAlignment.Near, format.LineAlignment); 410Assert.Equal(StringAlignment.Near, format.Alignment); 415Assert.Equal(StringAlignment.Near, format.LineAlignment);
System.Windows.Forms (2)
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 (2)
System\Windows\Forms\Design\ControlDesigner.cs (2)
2233Alignment = StringAlignment.Near, 2234LineAlignment = StringAlignment.Near