15 references to Right
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (2)
10553
return LeftRightAlignment.
Right
;
10555
else if (align == LeftRightAlignment.
Right
)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
478
get => (_style & PInvoke.DTS_RIGHTALIGN) != 0 ? LeftRightAlignment.
Right
: LeftRightAlignment.Left;
483
SetStyleBit(value == LeftRightAlignment.
Right
, PInvoke.DTS_RIGHTALIGN);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
23
private const LeftRightAlignment DefaultUpDownAlign = LeftRightAlignment.
Right
;
422
[DefaultValue(LeftRightAlignment.
Right
)]
System\Windows\Forms\SystemInformation.cs (1)
619
? LeftRightAlignment.Left : LeftRightAlignment.
Right
;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ControlTests.Methods.cs (2)
6957
yield return new object[] { RightToLeft.Yes, LeftRightAlignment.Left, LeftRightAlignment.
Right
};
6958
yield return new object[] { RightToLeft.Yes, LeftRightAlignment.
Right
, LeftRightAlignment.Left };
System\Windows\Forms\DateTimePickerTests.cs (2)
358
_dateTimePicker.DropDownAlign = LeftRightAlignment.
Right
;
359
_dateTimePicker.DropDownAlign.Should().Be(LeftRightAlignment.
Right
);
System\Windows\Forms\DomainUpDownTests.cs (1)
143
_sub.UpDownAlign.Should().Be(LeftRightAlignment.
Right
);
System\Windows\Forms\UpDownBaseTests.cs (3)
126
Assert.Equal(LeftRightAlignment.
Right
, control.UpDownAlign);
1434
yield return new object[] { borderStyle, rightToLeft, LeftRightAlignment.
Right
};
1465
yield return new object[] { borderStyle, rightToLeft, LeftRightAlignment.
Right
, 0 };