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