33 references to Left
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4278
addItem = (item.Alignment == ToolStripItemAlignment.
Left
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (2)
65
if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.
Left
)
350
if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.
Left
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
31
private ToolStripItemAlignment _alignment = ToolStripItemAlignment.
Left
;
276
[DefaultValue(ToolStripItemAlignment.
Left
)]
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (3)
89
insertIndex = (item.Alignment == ToolStripItemAlignment.
Left
) ? insertIndex : insertIndex + 1;
93
insertIndex = (item.Alignment == ToolStripItemAlignment.
Left
) ? insertIndex : insertIndex - 1;
95
else if (((item.Alignment == ToolStripItemAlignment.
Left
) && (relativeLocation == RelativeLocation.Left)) ||
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)))
442
case ToolStripItemAlignment.
Left
:
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
64
_system.Alignment = ToolStripItemAlignment.
Left
;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
152
_leftToolStripMenuItem = CreateEnumValueItem("Alignment", "Left", ToolStripItemAlignment.
Left
);
621
_leftToolStripMenuItem.Checked = currentAlignmentValue == ToolStripItemAlignment.
Left
;
System.Windows.Forms.Tests (19)
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
207
toolStrip.Items.Add(CreateItem(ToolStripItemAlignment.
Left
));
System\Windows\Forms\ToolStripButtonTests.cs (6)
24
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
105
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
192
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
282
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
371
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
469
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
54
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
23
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
113
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
212
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
312
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
System\Windows\Forms\ToolStripItemTests.cs (4)
26
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
112
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
207
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
425
[InlineData(ToolStripItemAlignment.
Left
, 0)]
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
24
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
24
Assert.Equal(ToolStripItemAlignment.
Left
, item.Alignment);
System\Windows\Forms\ToolStripStatusLabelTests.cs (1)
87
[InlineData(ToolStripItemAlignment.
Left
)]
WinFormsControlsTest (1)
MdiParent.cs (1)
37
Alignment = i < 4 ? ToolStripItemAlignment.
Left
: ToolStripItemAlignment.Right,