15 references to Right
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (2)
10551
return LeftRightAlignment.
Right
;
10553
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)
6917
yield return new object[] { RightToLeft.Yes, LeftRightAlignment.Left, LeftRightAlignment.
Right
};
6918
yield return new object[] { RightToLeft.Yes, LeftRightAlignment.
Right
, LeftRightAlignment.Left };
System\Windows\Forms\DateTimePickerTests.cs (2)
360
_dateTimePicker.DropDownAlign = LeftRightAlignment.
Right
;
361
_dateTimePicker.DropDownAlign.Should().Be(LeftRightAlignment.
Right
);
System\Windows\Forms\DomainUpDownTests.cs (1)
145
_sub.UpDownAlign.Should().Be(LeftRightAlignment.
Right
);
System\Windows\Forms\UpDownBaseTests.cs (3)
128
Assert.Equal(LeftRightAlignment.
Right
, control.UpDownAlign);
1436
yield return new object[] { borderStyle, rightToLeft, LeftRightAlignment.
Right
};
1467
yield return new object[] { borderStyle, rightToLeft, LeftRightAlignment.
Right
, 0 };