89 references to Right
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1361
Alignment = ToolStripItemAlignment.
Right
4289
addItem = (item.Alignment == ToolStripItemAlignment.
Right
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (2)
81
if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.
Right
)
363
if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.
Right
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (2)
96
((item.Alignment == ToolStripItemAlignment.
Right
) && (relativeLocation == RelativeLocation.Right)))
187
if (_owner.DisplayedItems[i].Alignment == ToolStripItemAlignment.
Right
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
291
if (((item.Alignment == ToolStripItemAlignment.
Right
) && (toolStrip.RightToLeft == RightToLeft.No)) || ((item.Alignment == ToolStripItemAlignment.Left) && (toolStrip.RightToLeft == RightToLeft.Yes)))
435
case ToolStripItemAlignment.
Right
:
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
54
item.Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
906
_pageToolStripLabel.Alignment = ToolStripItemAlignment.
Right
;
960
_pageCounterItem.Alignment = ToolStripItemAlignment.
Right
;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
153
_rightToolStripMenuItem = CreateEnumValueItem("Alignment", "Right", ToolStripItemAlignment.
Right
);
622
_rightToolStripMenuItem.Checked = currentAlignmentValue == ToolStripItemAlignment.
Right
;
System.Windows.Forms.Tests (74)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (22)
394
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
410
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
428
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
446
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
462
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
463
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
479
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
480
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
625
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
641
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
658
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
660
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
663
menuStrip.Items[3].Alignment = ToolStripItemAlignment.
Right
;
680
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
682
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
685
menuStrip.Items[3].Alignment = ToolStripItemAlignment.
Right
;
701
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
702
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
718
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
719
menuStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
863
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
888
menuStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (22)
374
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
390
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
408
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
426
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
442
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
443
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
459
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
460
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
605
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
621
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
638
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
640
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
643
statusStrip.Items[3].Alignment = ToolStripItemAlignment.
Right
;
660
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
662
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
665
statusStrip.Items[3].Alignment = ToolStripItemAlignment.
Right
;
681
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
682
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
698
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
699
statusStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
843
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
869
statusStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (22)
387
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
403
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
421
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
439
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
455
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
456
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
472
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
473
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
618
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
634
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
651
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
653
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
656
toolStrip.Items[3].Alignment = ToolStripItemAlignment.
Right
;
673
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
675
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
678
toolStrip.Items[3].Alignment = ToolStripItemAlignment.
Right
;
694
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
695
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
711
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
712
toolStrip.Items[1].Alignment = ToolStripItemAlignment.
Right
;
856
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
881
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (2)
288
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
323
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (2)
140
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
170
toolStrip.Items[0].Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (1)
126
item1.Alignment = ToolStripItemAlignment.
Right
;
System\Windows\Forms\ToolStripItemTests.cs (1)
426
[InlineData(ToolStripItemAlignment.
Right
, 1)]
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
271
Alignment = ToolStripItemAlignment.
Right
,
System\Windows\Forms\ToolStripStatusLabelTests.cs (1)
86
[InlineData(ToolStripItemAlignment.
Right
)]
WinFormsControlsTest (2)
MdiChild.cs (1)
19
Alignment = ToolStripItemAlignment.
Right
,
MdiParent.cs (1)
37
Alignment = i < 4 ? ToolStripItemAlignment.Left : ToolStripItemAlignment.
Right
,