31 references to LeftRightAlignment
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ContextMenu.cs (2)
206
public void Show(Control control, Point pos,
LeftRightAlignment
alignment) {
212
if (alignment ==
LeftRightAlignment
.Left) {
winforms\Managed\System\WinForms\Control.cs (8)
12325
protected
LeftRightAlignment
RtlTranslateAlignment(
LeftRightAlignment
align) {
12362
protected
LeftRightAlignment
RtlTranslateLeftRight(
LeftRightAlignment
align) {
12365
if (
LeftRightAlignment
.Left == align) {
12366
return
LeftRightAlignment
.Right;
12368
else if (
LeftRightAlignment
.Right == align) {
12369
return
LeftRightAlignment
.Left;
winforms\Managed\System\WinForms\DateTimePicker.cs (8)
565
DefaultValue(
LeftRightAlignment
.Left),
570
public
LeftRightAlignment
DropDownAlign {
573
?
LeftRightAlignment
.Right
574
:
LeftRightAlignment
.Left;
579
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
LeftRightAlignment
.Left, (int)
LeftRightAlignment
.Right)){
580
throw new InvalidEnumArgumentException("value", (int)value, typeof(
LeftRightAlignment
));
583
SetStyleBit((value ==
LeftRightAlignment
.Right), NativeMethods.DTS_RIGHTALIGN);
winforms\Managed\System\WinForms\SystemInformation.cs (3)
1442
public static
LeftRightAlignment
PopupMenuAlignment {
1447
return
LeftRightAlignment
.Left;
1450
return
LeftRightAlignment
.Right;
winforms\Managed\System\WinForms\UpDownBase.cs (10)
39
private const
LeftRightAlignment
DefaultUpDownAlign =
LeftRightAlignment
.Right;
55
private
LeftRightAlignment
upDownAlign = DefaultUpDownAlign;
655
DefaultValue(
LeftRightAlignment
.Right),
658
public
LeftRightAlignment
UpDownAlign {
666
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
LeftRightAlignment
.Left, (int)
LeftRightAlignment
.Right))
668
throw new InvalidEnumArgumentException("value", (int)value, typeof(
LeftRightAlignment
));
1124
LeftRightAlignment
updownAlign = UpDownAlign;
1128
if (updownAlign ==
LeftRightAlignment
.Left) {