822 references to No
Accessibility_Core_App (3)
ContainerControls2.Designer.cs (3)
92this.splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No; 98this.splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No; 99this.splitContainer1.RightToLeft = System.Windows.Forms.RightToLeft.No;
PresentationUI (1)
MS\Internal\Documents\DialogBaseForm.cs (1)
160RightToLeft = RightToLeft.No;
System.Windows.Forms (34)
System\Windows\Forms\ActiveX\AxHost.cs (2)
379set => base.RightToLeft = (value) ? Forms.RightToLeft.Yes : Forms.RightToLeft.No; 2147if (control.RightToLeft == Forms.RightToLeft.No)
System\Windows\Forms\Control.cs (1)
1587private static RightToLeft DefaultRightToLeft => RightToLeft.No;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
451return _owner.DataGridView.RightToLeft == RightToLeft.No 459return _owner.DataGridView.RightToLeft == RightToLeft.No
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (2)
152AccessibleNavigation.Right => Owner.DataGridView.RightToLeft == RightToLeft.No ? NavigateForward() : NavigateBackward(), 154AccessibleNavigation.Left => Owner.DataGridView.RightToLeft == RightToLeft.No ? NavigateBackward() : NavigateForward(),
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (2)
134if ((RightToLeft == RightToLeft.No && !(SelectionLength == 0 && SelectionStart == Text.Length)) || 146if ((RightToLeft == RightToLeft.No && !(SelectionLength == 0 && SelectionStart == 0)) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (3)
80if (Owner.DataGridView.RightToLeft == RightToLeft.No) 165if (Owner.DataGridView.RightToLeft == RightToLeft.No) 177if (Owner.DataGridView.RightToLeft == RightToLeft.No)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
215SelectNextToolStripItem(null, forward: RightToLeft == RightToLeft.No);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
76if (RightToLeft == RightToLeft.No)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
589direction = ((Dock == DockStyle.Right) && (RightToLeft == RightToLeft.No)) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right; 741rect.X += (RightToLeft == RightToLeft.No) ? gripwidth : 0;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
147RightToLeft toggledRightToLeft = (RightToLeft == RightToLeft.Yes) ? RightToLeft.No : RightToLeft.Yes;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
701Color begin = (rightToLeft == RightToLeft.No) ? ColorTable.ImageMarginGradientBegin : ColorTable.ImageMarginGradientEnd; 702Color end = (rightToLeft == RightToLeft.No) ? ColorTable.ImageMarginGradientEnd : ColorTable.ImageMarginGradientBegin; 1473if (dropDownMenu.RightToLeft == RightToLeft.No)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
312if (RightToLeft == RightToLeft.No)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
110insertIndex = Math.Max(0, (_owner.RightToLeft == RightToLeft.No) ? insertIndex + 1 : insertIndex);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
229if (toolStrip.RightToLeft == RightToLeft.No) 291if (((item.Alignment == ToolStripItemAlignment.Right) && (toolStrip.RightToLeft == RightToLeft.No)) || ((item.Alignment == ToolStripItemAlignment.Left) && (toolStrip.RightToLeft == RightToLeft.Yes)))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (1)
23: owner.Orientation == Orientation.Horizontal && (owner.RightToLeft == RightToLeft.No || parent.IsMirrored)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (1)
23: owner.Orientation == Orientation.Horizontal && (owner.RightToLeft == RightToLeft.No || parent.IsMirrored)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1348get => RightToLeft.No;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
1354if (RightToLeft == RightToLeft.No) 1386if (RightToLeft == RightToLeft.No) 1505if (RightToLeft == RightToLeft.No) 1643if (RightToLeft == RightToLeft.No)
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
71RightToLeft = RightToLeft.No,
System\Windows\Forms\Rendering\ControlPaint.cs (1)
422RightToLeft rightToLeft = RightToLeft.No)
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
44get => RightToLeft.No;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FormatStringDialog.cs (1)
30RightToLeft = RightToLeft.No;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
617RightToLeft = RightToLeft.No; 728private bool ShouldSerializeRightToLeft() => RightToLeft != RightToLeft.No;
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (1)
108Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\Design\FormatStringDialogTests.cs (1)
38_formatStringDialog.RightToLeft.Should().Be(RightToLeft.No);
System.Windows.Forms.Tests (746)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
31[InlineData(RightToLeft.No)] 63[InlineData(RightToLeft.No)]
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
114yield return new object[] { RightToLeft.No, SR.DataGridView_AccTopLeftColumnHeaderCellName };
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (3)
222using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.No, minimum: 0, maximum: 100, value: 50); 238[InlineData(RightToLeft.No, 0, 100)] 239[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (3)
245using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.No, minimum: 0, maximum: 100, value: 50); 261[InlineData(RightToLeft.No, 0, 100)] 262[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (3)
232using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.No, minimum: 0, maximum: 100, value: 50); 248[InlineData(RightToLeft.No, 99, 100)] 249[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (3)
232using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.No, minimum: 0, maximum: 100, value: 50); 248[InlineData(RightToLeft.No, 99, 100)] 249[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (9)
69foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 104foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 250[InlineData(Orientation.Vertical, RightToLeft.No, true)] 251[InlineData(Orientation.Vertical, RightToLeft.No, false)] 275[InlineData(Orientation.Horizontal, RightToLeft.No, true)] 276[InlineData(Orientation.Horizontal, RightToLeft.No, false)] 402[InlineData(Orientation.Horizontal, RightToLeft.No, false)] 416[InlineData(Orientation.Vertical, RightToLeft.No, true)] 417[InlineData(Orientation.Vertical, RightToLeft.No, false)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (6)
69foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 104foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 251[InlineData(Orientation.Vertical, RightToLeft.No, true)] 252[InlineData(Orientation.Vertical, RightToLeft.No, false)] 276[InlineData(Orientation.Horizontal, RightToLeft.No, true)] 277[InlineData(Orientation.Horizontal, RightToLeft.No, false)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (3)
203[InlineData(RightToLeft.No)] 222[InlineData(RightToLeft.No, 0, 100)] 223[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (3)
226[InlineData(RightToLeft.No)] 245[InlineData(RightToLeft.No, 0, 100)] 246[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (3)
213[InlineData(RightToLeft.No)] 232[InlineData(RightToLeft.No, 99, 100)] 233[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (3)
213[InlineData(RightToLeft.No)] 232[InlineData(RightToLeft.No, 99, 100)] 233[InlineData(RightToLeft.No, 0, 0)]
System\Windows\Forms\AxHostTests.cs (2)
102Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 196Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft);
System\Windows\Forms\ButtonBaseTests.cs (11)
103Assert.Equal(RightToLeft.No, control.RightToLeft); 185yield return new object[] { flatStyle, RightToLeft.No, textAlign, 0x56010000, 0 }; 200yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.BottomLeft, 0x56012900, 0 }; 201yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.BottomCenter, 0x56012B00, 0 }; 202yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.BottomRight, 0x56012A00, 0 }; 203yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleLeft, 0x56012D00, 0 }; 204yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleCenter, 0x56012F00, 0 }; 205yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleRight, 0x56012E00, 0 }; 206yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopLeft, 0x56012500, 0 }; 207yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopCenter, 0x56012700, 0 }; 208yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ButtonTests.cs (11)
101Assert.Equal(RightToLeft.No, control.RightToLeft); 207yield return new object[] { flatStyle, RightToLeft.No, textAlign, 0x5601000B, 0 }; 222yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.BottomLeft, 0x56012900, 0 }; 223yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.BottomCenter, 0x56012B00, 0 }; 224yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.BottomRight, 0x56012A00, 0 }; 225yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleLeft, 0x56012D00, 0 }; 226yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleCenter, 0x56012F00, 0 }; 227yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.MiddleRight, 0x56012E00, 0 }; 228yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopLeft, 0x56012500, 0 }; 229yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopCenter, 0x56012700, 0 }; 230yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\CheckBoxTests.cs (1)
103Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ColumnHeaderTests.cs (3)
1020[InlineData(RightToLeft.No, true, HorizontalAlignment.Left)] 1023[InlineData(RightToLeft.No, false, HorizontalAlignment.Left)] 1045listView.RightToLeft = RightToLeft.No;
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (4)
118[InlineData(ComboBoxStyle.DropDown, RightToLeft.No, false)] 120[InlineData(ComboBoxStyle.Simple, RightToLeft.No, false)] 134[InlineData(ComboBoxStyle.DropDown, RightToLeft.No)] 136[InlineData(ComboBoxStyle.Simple, RightToLeft.No)]
System\Windows\Forms\ComboBoxTests.cs (2)
113Assert.Equal(RightToLeft.No, control.RightToLeft); 1302Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ContainerControlTests.cs (1)
106Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ControlTests.ControlCollection.cs (12)
577Assert.Equal(RightToLeft.No, control.RightToLeft); 621Assert.Equal(RightToLeft.No, control.RightToLeft); 657Assert.Equal(RightToLeft.No, control.RightToLeft); 807Assert.Equal(RightToLeft.No, control.RightToLeft); 960Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 1033Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 2274Assert.Equal(RightToLeft.No, control.RightToLeft); 2321Assert.Equal(RightToLeft.No, control.RightToLeft); 2465Assert.Equal(RightToLeft.No, control.RightToLeft); 2598Assert.Equal(RightToLeft.No, control.RightToLeft); 2671Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 2749Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft);
System\Windows\Forms\ControlTests.cs (13)
84Assert.Equal(RightToLeft.No, control.RightToLeft); 173Assert.Equal(RightToLeft.No, control.RightToLeft); 269Assert.Equal(RightToLeft.No, control.RightToLeft); 365Assert.Equal(RightToLeft.No, control.RightToLeft); 461Assert.Equal(RightToLeft.No, control.RightToLeft); 644[InlineData(RightToLeft.No, 0)] 779[InlineData(RightToLeft.No)] 798[InlineData(RightToLeft.No)] 817[InlineData(RightToLeft.No)] 838[InlineData(RightToLeft.No)] 859[InlineData(RightToLeft.No)] 921[InlineData(RightToLeft.No)] 978[InlineData(RightToLeft.No)]
System\Windows\Forms\ControlTests.Handlers.cs (1)
5085RightToLeft = RightToLeft.No
System\Windows\Forms\ControlTests.Methods.cs (6)
6537Assert.Equal(RightToLeft.No, control.RightToLeft); 6542Assert.Equal(RightToLeft.No, control.RightToLeft); 6546Assert.Equal(RightToLeft.No, control.RightToLeft); 6909yield return new object[] { RightToLeft.No, align, align }; 6944yield return new object[] { RightToLeft.No, align, align }; 6972yield return new object[] { RightToLeft.No, align, align };
System\Windows\Forms\ControlTests.Properties.cs (31)
10123RightToLeft = RightToLeft.No 10132Assert.Equal(RightToLeft.No, child2.RightToLeft); 10139Assert.Equal(RightToLeft.No, child2.RightToLeft); 10145[InlineData(RightToLeft.No, RightToLeft.No, 0)] 10146[InlineData(RightToLeft.Inherit, RightToLeft.No, 0)] 10176[InlineData(RightToLeft.No, RightToLeft.No, 1)] 10177[InlineData(RightToLeft.Inherit, RightToLeft.No, 1)] 10233Assert.Equal(RightToLeft.No, control.RightToLeft); 10331Assert.Equal(RightToLeft.No, control.RightToLeft); 10332Assert.Equal(RightToLeft.No, child1.RightToLeft); 10333Assert.Equal(RightToLeft.No, child2.RightToLeft); 10360RightToLeft = RightToLeft.No 10395Assert.Equal(RightToLeft.No, child2.RightToLeft); 10404Assert.Equal(RightToLeft.No, child2.RightToLeft); 10411Assert.Equal(RightToLeft.No, control.RightToLeft); 10413Assert.Equal(RightToLeft.No, child2.RightToLeft); 10425Assert.Equal(RightToLeft.No, child2.RightToLeft); 10450control.RightToLeft = RightToLeft.No; 10451Assert.Equal(RightToLeft.No, control.RightToLeft); 10455Assert.Equal(RightToLeft.No, control.RightToLeft); 10458control.RightToLeft = RightToLeft.No; 10459Assert.Equal(RightToLeft.No, control.RightToLeft); 10463Assert.Equal(RightToLeft.No, control.RightToLeft); 10478control.RightToLeft = RightToLeft.No; 10479Assert.Equal(RightToLeft.No, control.RightToLeft); 10483Assert.Equal(RightToLeft.No, control.RightToLeft); 10486control.RightToLeft = RightToLeft.No; 10487Assert.Equal(RightToLeft.No, control.RightToLeft); 10491Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\DataGridViewRowTests.cs (40)
3381true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, isFirstDisplayedRow, true, 3388false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, true, true, 3393false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, false, true, 3398true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, true, true, 3403true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, false, true, 3408false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, true, true, 3413false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Inset, true, true, false, true, 3422true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, isFirstDisplayedRow, true, 3432false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, isFirstDisplayedRow, true, 3444true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, false, true, 3454false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, true, true, 3464false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, true, true, 3478true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, isFirstDisplayedRow, true, 3485false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, true, true, 3490false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, false, true, 3495true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, true, true, 3500true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, false, true, 3505false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, true, true, 3510false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Outset, true, true, false, true, 3519true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, isFirstDisplayedRow, true, 3529false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, isFirstDisplayedRow, true, 3541true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, false, true, 3551false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, true, true, 3561false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, true, true, 3577true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, isFirstDisplayedRow, isLastVisibleRow, 3592true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, false, isLastVisibleRow, 3604false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, true, 3614false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, false, 3624false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, false, true, 3634false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, false, false, 3644false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, true, 3654false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, false, 3668true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Single, true, true, isFirstDisplayedRow, true, 3673false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Single, true, true, isFirstDisplayedRow, true, 3680true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Single, true, true, true, true, 3685true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Single, true, true, false, true, 3690false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Single, true, true, true, true, 3695false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.Single, true, true, false, true, 3702true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.None, true, true, true, true, 3707true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.None, true, true, true, true,
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (14)
107Assert.Equal(RightToLeft.No, control.RightToLeft); 1019yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Right, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1021yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Left, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1023yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Down, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1025yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Up, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1027yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Home, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1029yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.End, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1031yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Prior, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || valueChanged }; 1033yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Next, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || valueChanged }; 1035yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Delete, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1037yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1039yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift | Keys.Control, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1041yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || (multiline && acceptsReturn) }; 1043yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.A, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\DateTimePickerTests.cs (1)
105Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
138Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
108Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\DomainUpDownTests.cs (1)
130_sub.RightToLeft.Should().Be(RightToLeft.No);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
100Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\FormTests.cs (1)
140Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\GroupBoxTests.cs (1)
88Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\HScrollBarTests.cs (2)
99Assert.Equal(RightToLeft.No, control.RightToLeft); 182Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\LabelTests.cs (1)
97Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ListBoxTests.cs (2)
106Assert.Equal(RightToLeft.No, control.RightToLeft); 2215Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ListControlTests.cs (1)
94Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (3)
660[InlineData(true, true, RightToLeft.No, false)] 663[InlineData(true, false, RightToLeft.No, false)] 807RightToLeft rightToLeft = RightToLeft.No,
System\Windows\Forms\ListViewTests.cs (1)
122Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\MdiClientTests.cs (20)
73Assert.Equal(RightToLeft.No, control.RightToLeft); 339[InlineData(RightToLeft.No, true)] 364[InlineData(RightToLeft.Inherit, RightToLeft.No)] 366[InlineData(RightToLeft.No, RightToLeft.Inherit)] 367[InlineData(RightToLeft.No, RightToLeft.No)] 368[InlineData(RightToLeft.No, RightToLeft.Yes)] 370[InlineData(RightToLeft.Yes, RightToLeft.No)] 390[InlineData(RightToLeft.Inherit, RightToLeft.No, true)] 391[InlineData(RightToLeft.Inherit, RightToLeft.No, false)] 394[InlineData(RightToLeft.No, RightToLeft.Inherit, true)] 395[InlineData(RightToLeft.No, RightToLeft.Inherit, false)] 396[InlineData(RightToLeft.No, RightToLeft.No, true)] 397[InlineData(RightToLeft.No, RightToLeft.No, false)] 398[InlineData(RightToLeft.No, RightToLeft.Yes, true)] 399[InlineData(RightToLeft.No, RightToLeft.Yes, false)] 402[InlineData(RightToLeft.Yes, RightToLeft.No, true)] 403[InlineData(RightToLeft.Yes, RightToLeft.No, false)]
System\Windows\Forms\MdiControlStripTests.cs (4)
131Assert.Equal(RightToLeft.No, mdiControlStrip.RightToLeft); 194[InlineData(RightToLeft.No)] 240[InlineData(RightToLeft.No)] 285[InlineData(RightToLeft.No)]
System\Windows\Forms\MenuStripTests.cs (1)
129Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\MonthCalendarTests.cs (9)
111Assert.Equal(RightToLeft.No, control.RightToLeft); 1719[InlineData(RightToLeft.No, true, 1)] 1720[InlineData(RightToLeft.No, false, 0)] 1759[InlineData(RightToLeft.No, true, 1, 0, 0)] 1760[InlineData(RightToLeft.No, false, 0, 0, 0)] 3785yield return new object[] { RightToLeft.No, null }; 3786yield return new object[] { RightToLeft.No, new EventArgs() }; 3824yield return new object[] { RightToLeft.No, null, 0 }; 3825yield return new object[] { RightToLeft.No, new EventArgs(), 0 };
System\Windows\Forms\PanelTests.cs (1)
100Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\PictureBoxTests.cs (2)
95Assert.Equal(RightToLeft.No, control.RightToLeft); 1259Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ProgressBarTests.cs (11)
85Assert.Equal(RightToLeft.No, control.RightToLeft); 166[InlineData(RightToLeft.No, true, 0x56010000, 0x0)] 169[InlineData(RightToLeft.No, false, 0x56010000, 0x0)] 1184[InlineData(RightToLeft.No, true, 1)] 1185[InlineData(RightToLeft.No, false, 0)] 1224[InlineData(RightToLeft.No, true, 1, 0, 0)] 1225[InlineData(RightToLeft.No, false, 0, 0, 0)] 2372yield return new object[] { RightToLeft.No, null }; 2373yield return new object[] { RightToLeft.No, new EventArgs() }; 2411yield return new object[] { RightToLeft.No, null, 0 }; 2412yield return new object[] { RightToLeft.No, new EventArgs(), 0 };
System\Windows\Forms\PropertyGridTests.cs (1)
138Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\RadioButtonTests.cs (1)
101Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\RichTextBoxTests.cs (1)
116Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ScrollableControlTests.cs (1)
99Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ScrollBarTests.cs (103)
88Assert.Equal(RightToLeft.No, control.RightToLeft); 595[InlineData(RightToLeft.No)] 1222Assert.Equal(RightToLeft.No, control.RightToLeft); 2229yield return new object[] { RightToLeft.No, 10, -119, new List<ScrollEventArgs>(), 10 }; 2230yield return new object[] { RightToLeft.No, 10, 0, new List<ScrollEventArgs>(), 10 }; 2231yield return new object[] { RightToLeft.No, 10, 119, new List<ScrollEventArgs>(), 10 }; 2239RightToLeft.No, 10, 120, 2248RightToLeft.No, 10, 121, 2257RightToLeft.No, 10, 240, 2267RightToLeft.No, 1, 120, 2276RightToLeft.No, 1, 240, 2286RightToLeft.No, 100, 240, 2356RightToLeft.No, 10, -120, 2365RightToLeft.No, 10, -121, 2374RightToLeft.No, 10, -240, 2384RightToLeft.No, 90, -120, 2393RightToLeft.No, 99, -120, 2402RightToLeft.No, 99, -240, 2710yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.SmallIncrement, 91, ScrollEventType.SmallIncrement }; 2711yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.SmallIncrement, 91, ScrollEventType.SmallIncrement }; 2712yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.SmallIncrement, 91, ScrollEventType.SmallIncrement }; 2713yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.SmallIncrement, 86, ScrollEventType.SmallIncrement }; 2714yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.SmallIncrement, 16, ScrollEventType.SmallIncrement }; 2715yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.SmallIncrement, 11, ScrollEventType.SmallIncrement }; 2716yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.SmallIncrement, 2, ScrollEventType.SmallIncrement }; 2717yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.SmallIncrement, 1, ScrollEventType.SmallIncrement }; 2727yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.LargeIncrement, 91, ScrollEventType.LargeIncrement }; 2728yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.LargeIncrement, 91, ScrollEventType.LargeIncrement }; 2729yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.LargeIncrement, 91, ScrollEventType.LargeIncrement }; 2730yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.LargeIncrement, 91, ScrollEventType.LargeIncrement }; 2731yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.LargeIncrement, 25, ScrollEventType.LargeIncrement }; 2732yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.LargeIncrement, 20, ScrollEventType.LargeIncrement }; 2733yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.LargeIncrement, 11, ScrollEventType.LargeIncrement }; 2734yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.LargeIncrement, 10, ScrollEventType.LargeIncrement }; 2744yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.SmallDecrement, 99, ScrollEventType.SmallDecrement }; 2745yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.SmallDecrement, 98, ScrollEventType.SmallDecrement }; 2746yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.SmallDecrement, 90, ScrollEventType.SmallDecrement }; 2747yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.SmallDecrement, 84, ScrollEventType.SmallDecrement }; 2748yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.SmallDecrement, 14, ScrollEventType.SmallDecrement }; 2749yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.SmallDecrement, 9, ScrollEventType.SmallDecrement }; 2750yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.SmallDecrement, 0, ScrollEventType.SmallDecrement }; 2751yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.SmallDecrement, 0, ScrollEventType.SmallDecrement }; 2761yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.LargeDecrement, 90, ScrollEventType.LargeDecrement }; 2762yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.LargeDecrement, 89, ScrollEventType.LargeDecrement }; 2763yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.LargeDecrement, 81, ScrollEventType.LargeDecrement }; 2764yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.LargeDecrement, 75, ScrollEventType.LargeDecrement }; 2765yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.LargeDecrement, 5, ScrollEventType.LargeDecrement }; 2766yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.LargeDecrement, 0, ScrollEventType.LargeDecrement }; 2767yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.LargeDecrement, 0, ScrollEventType.LargeDecrement }; 2768yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.LargeDecrement, 0, ScrollEventType.LargeDecrement }; 2778yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.First, 0, ScrollEventType.First }; 2779yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.First, 0, ScrollEventType.First }; 2780yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.First, 0, ScrollEventType.First }; 2781yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.First, 0, ScrollEventType.First }; 2782yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.First, 0, ScrollEventType.First }; 2783yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.First, 0, ScrollEventType.First }; 2784yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.First, 0, ScrollEventType.First }; 2785yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.First, 0, ScrollEventType.First }; 2795yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.Last, 91, ScrollEventType.Last }; 2796yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.Last, 91, ScrollEventType.Last }; 2797yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.Last, 91, ScrollEventType.Last }; 2798yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.Last, 91, ScrollEventType.Last }; 2799yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.Last, 91, ScrollEventType.Last }; 2800yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.Last, 91, ScrollEventType.Last }; 2801yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.Last, 91, ScrollEventType.Last }; 2802yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.Last, 91, ScrollEventType.Last }; 2812yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.EndScroll, 10, ScrollEventType.EndScroll }; 2814yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.ThumbPosition, 10, ScrollEventType.ThumbPosition }; 2816yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.ThumbTrack, 10, ScrollEventType.ThumbTrack }; 2818yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.SmallDecrement - 1, 10, (ScrollEventType)ushort.MaxValue }; 2820yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.EndScroll + 1, 10, ScrollEventType.EndScroll + 1 }; 2932[InlineData(RightToLeft.No, 50)] 2933[InlineData(RightToLeft.No, 100)] 2945[InlineData(RightToLeft.No, 0, 0)] 2947[InlineData(RightToLeft.No, 100, 0)] 2957[InlineData(RightToLeft.No, 100, 0, AccessibleStates.Invisible)] 2958[InlineData(RightToLeft.No, 100, 50, AccessibleStates.None)] 2959[InlineData(RightToLeft.No, 100, 100, AccessibleStates.None)] 2963[InlineData(RightToLeft.No, 0, 0, AccessibleStates.Invisible)] 2974[InlineData(RightToLeft.No, 0)] 2975[InlineData(RightToLeft.No, 50)] 2988[InlineData(RightToLeft.No, 100, 100)] 2990[InlineData(RightToLeft.No, 0, 0)] 3001[InlineData(RightToLeft.No, 100, 0, AccessibleStates.None)] 3002[InlineData(RightToLeft.No, 100, 50, AccessibleStates.None)] 3003[InlineData(RightToLeft.No, 100, 100, AccessibleStates.Invisible)] 3007[InlineData(RightToLeft.No, 0, 0, AccessibleStates.Invisible)] 3018[InlineData(RightToLeft.No, 100, 0)] 3020[InlineData(RightToLeft.No, 0, 0)] 3031[InlineData(RightToLeft.No, 0)] 3032[InlineData(RightToLeft.No, 50)] 3045[InlineData(RightToLeft.No, 100, 100)] 3047[InlineData(RightToLeft.No, 0, 0)] 3058[InlineData(RightToLeft.No, 100, 0, AccessibleStates.None)] 3059[InlineData(RightToLeft.No, 100, 50, AccessibleStates.None)] 3060[InlineData(RightToLeft.No, 100, 100, AccessibleStates.Invisible)] 3064[InlineData(RightToLeft.No, 0, 0, AccessibleStates.Invisible)] 3075[InlineData(RightToLeft.No, 50)] 3077[InlineData(RightToLeft.No, 100)] 3089[InlineData(RightToLeft.No, 100, 0, AccessibleStates.Invisible)] 3090[InlineData(RightToLeft.No, 100, 50, AccessibleStates.None)] 3091[InlineData(RightToLeft.No, 100, 100, AccessibleStates.None)] 3095[InlineData(RightToLeft.No, 0, 0, AccessibleStates.Invisible)]
System\Windows\Forms\SplitterPanelTests.cs (1)
89Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\SplitterTests.cs (1)
88Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\StatusStripTests.cs (16)
130Assert.Equal(RightToLeft.No, control.RightToLeft); 204yield return new object[] { ToolStripLayoutStyle.Flow, RightToLeft.No, new Padding(1, 0, 14, 0) }; 208yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, RightToLeft.No, new Padding(1, 0, 14, 0) }; 212yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, RightToLeft.No, new Padding(1, 0, 14, 0) }; 216yield return new object[] { ToolStripLayoutStyle.Table, RightToLeft.No, new Padding(1, 0, 14, 0) }; 220yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, RightToLeft.No, new Padding(1, 3, 1, 22) }; 622yield return new object[] { true, layoutStyle, RightToLeft.No, new Rectangle(188, 0, 12, 22) }; 625yield return new object[] { false, layoutStyle, RightToLeft.No, Rectangle.Empty }; 648yield return new object[] { true, layoutStyle, RightToLeft.No, new Rectangle(198, 10, 12, 22) }; 651yield return new object[] { false, layoutStyle, RightToLeft.No, Rectangle.Empty }; 675yield return new object[] { true, layoutStyle, RightToLeft.No, new Rectangle(178, 0, 12, 12) }; 678yield return new object[] { false, layoutStyle, RightToLeft.No, Rectangle.Empty }; 725yield return new object[] { RightToLeft.No, true, 0, 0 }; 729yield return new object[] { RightToLeft.No, false, 0, 0 }; 1008yield return new object[] { RightToLeft.No, true, 0 }; 1012yield return new object[] { RightToLeft.No, false, 0 };
System\Windows\Forms\TabControlTests.cs (11)
92Assert.Equal(RightToLeft.No, control.RightToLeft); 334[InlineData(RightToLeft.No, true, 0x56010800, 0x0)] 337[InlineData(RightToLeft.No, false, 0x56010800, 0x0)] 1828[InlineData(RightToLeft.No, true, 1)] 1829[InlineData(RightToLeft.No, false, 0)] 1868[InlineData(RightToLeft.No, true, 1, 0, 0)] 1869[InlineData(RightToLeft.No, false, 0, 0, 0)] 4497yield return new object[] { RightToLeft.No, null }; 4498yield return new object[] { RightToLeft.No, new EventArgs() }; 4536yield return new object[] { RightToLeft.No, null, 0 }; 4537yield return new object[] { RightToLeft.No, new EventArgs(), 0 };
System\Windows\Forms\TableLayoutPanelTests.cs (1)
108Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\TabPageTests.cs (2)
105Assert.Equal(RightToLeft.No, control.RightToLeft); 214Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (2)
88[InlineData(RightToLeft.No, false)] 102[InlineData(RightToLeft.No)]
System\Windows\Forms\ToolStripButtonTests.cs (12)
1225yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.None, 0, 0, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1226yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.Image, 1, 0, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1227yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.ImageAndText, 1, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1231yield return new object[] { ContentAlignment.TopLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1234yield return new object[] { ContentAlignment.TopCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1237yield return new object[] { ContentAlignment.TopRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1241yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1244yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1247yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1251yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1254yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1257yield return new object[] { ContentAlignment.BottomRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
105Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ToolStripControlHostTests.cs (16)
1563Assert.Equal(RightToLeft.No, c.RightToLeft); 1569Assert.Equal(RightToLeft.No, c.RightToLeft); 1618item.RightToLeft = RightToLeft.No; 1619Assert.Equal(RightToLeft.No, item.RightToLeft); 1650item.RightToLeft = RightToLeft.No; 1651Assert.Equal(RightToLeft.No, item.RightToLeft); 1655Assert.Equal(RightToLeft.No, item.RightToLeft); 1658item.RightToLeft = RightToLeft.No; 1659Assert.Equal(RightToLeft.No, item.RightToLeft); 1663Assert.Equal(RightToLeft.No, item.RightToLeft); 1693item.RightToLeft = RightToLeft.No; 1694Assert.Equal(RightToLeft.No, item.RightToLeft); 1698Assert.Equal(RightToLeft.No, item.RightToLeft); 1701item.RightToLeft = RightToLeft.No; 1702Assert.Equal(RightToLeft.No, item.RightToLeft); 1706Assert.Equal(RightToLeft.No, item.RightToLeft);
System\Windows\Forms\ToolStripDropDownTests.cs (66)
137Assert.Equal(RightToLeft.No, control.RightToLeft); 1113yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1116yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1119yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1122yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1125yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1129yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1132yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1135yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1138yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1141yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1145yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1148yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1151yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1154yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1157yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1161yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1164yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1167yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1170yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1173yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1177yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1180yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1183yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1186yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1189yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1238yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1241yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1244yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1247yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1250yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1254yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1257yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1260yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1263yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1266yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1270yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1273yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1276yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1279yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1282yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1286yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1289yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1292yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1295yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1298yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1302yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1305yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Right }; 1308yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1311yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1314yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 2335control.RightToLeft = RightToLeft.No; 2336Assert.Equal(RightToLeft.No, control.RightToLeft); 2352control.RightToLeft = RightToLeft.No; 2353Assert.Equal(RightToLeft.No, control.RightToLeft); 2365RightToLeft = RightToLeft.No 2377[InlineData(RightToLeft.No, RightToLeft.No, 0)] 2378[InlineData(RightToLeft.Inherit, RightToLeft.No, 0)] 2428Assert.Equal(RightToLeft.No, control.RightToLeft); 3105Assert.Equal(RightToLeft.No, control.RightToLeft); 3122Assert.Equal(RightToLeft.No, control.RightToLeft); 3135Assert.Equal(RightToLeft.No, control.RightToLeft); 3386Assert.Equal(RightToLeft.No, control.RightToLeft); 3403Assert.Equal(RightToLeft.No, control.RightToLeft); 3416Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ToolStripItemTests.cs (74)
6539[InlineData(RightToLeft.Yes, RightToLeft.No, RightToLeft.No, 0)] 6541[InlineData(RightToLeft.No, RightToLeft.Yes, RightToLeft.Yes, 0)] 6542[InlineData(RightToLeft.No, RightToLeft.No, RightToLeft.No, 0)] 6543[InlineData(RightToLeft.No, RightToLeft.Inherit, RightToLeft.No, 1)] 6545[InlineData(RightToLeft.Inherit, RightToLeft.No, RightToLeft.No, 0)] 6546[InlineData(RightToLeft.Inherit, RightToLeft.Inherit, RightToLeft.No, 1)] 7095[InlineData(RightToLeft.Inherit, RightToLeft.No)] 7097[InlineData(RightToLeft.No, RightToLeft.No)] 7112[InlineData(RightToLeft.Inherit, RightToLeft.No)] 7114[InlineData(RightToLeft.No, RightToLeft.No)] 7137RightToLeft = RightToLeft.No 7165yield return new object[] { RightToLeft.Yes, RightToLeft.No, RightToLeft.No, 1 }; 7167yield return new object[] { RightToLeft.No, RightToLeft.Yes, RightToLeft.Yes, 1 }; 7168yield return new object[] { RightToLeft.No, RightToLeft.No, RightToLeft.No, 0 }; 7169yield return new object[] { RightToLeft.No, RightToLeft.Inherit, RightToLeft.No, 0 }; 7171yield return new object[] { RightToLeft.Inherit, RightToLeft.No, RightToLeft.No, 0 }; 7172yield return new object[] { RightToLeft.Inherit, RightToLeft.Inherit, RightToLeft.No, 0 }; 7275yield return new object[] { RightToLeft.Yes, RightToLeft.No, RightToLeft.No }; 7277yield return new object[] { RightToLeft.No, RightToLeft.Yes, RightToLeft.Yes }; 7278yield return new object[] { RightToLeft.No, RightToLeft.No, RightToLeft.No }; 7279yield return new object[] { RightToLeft.No, RightToLeft.Inherit, RightToLeft.No }; 7281yield return new object[] { RightToLeft.Inherit, RightToLeft.No, RightToLeft.No }; 7282yield return new object[] { RightToLeft.Inherit, RightToLeft.Inherit, RightToLeft.No }; 7392item.RightToLeft = RightToLeft.No; 7393Assert.Equal(RightToLeft.No, item.RightToLeft); 7422item.RightToLeft = RightToLeft.No; 7423Assert.Equal(RightToLeft.No, item.RightToLeft); 7430item.RightToLeft = RightToLeft.No; 7431Assert.Equal(RightToLeft.No, item.RightToLeft); 7450item.RightToLeft = RightToLeft.No; 7451Assert.Equal(RightToLeft.No, item.RightToLeft); 7458item.RightToLeft = RightToLeft.No; 7459Assert.Equal(RightToLeft.No, item.RightToLeft); 12196yield return new object[] { RightToLeft.Yes, RightToLeft.No, null, RightToLeft.No, 0 }; 12197yield return new object[] { RightToLeft.Yes, RightToLeft.No, new EventArgs(), RightToLeft.No, 0 }; 12202yield return new object[] { RightToLeft.No, RightToLeft.Yes, null, RightToLeft.Yes, 0 }; 12203yield return new object[] { RightToLeft.No, RightToLeft.Yes, new EventArgs(), RightToLeft.Yes, 0 }; 12205yield return new object[] { RightToLeft.No, RightToLeft.No, null, RightToLeft.No, 0 }; 12206yield return new object[] { RightToLeft.No, RightToLeft.No, new EventArgs(), RightToLeft.No, 0 }; 12208yield return new object[] { RightToLeft.No, RightToLeft.Inherit, null, RightToLeft.No, 1 }; 12209yield return new object[] { RightToLeft.No, RightToLeft.Inherit, new EventArgs(), RightToLeft.No, 1 }; 12214yield return new object[] { RightToLeft.Inherit, RightToLeft.No, null, RightToLeft.No, 0 }; 12215yield return new object[] { RightToLeft.Inherit, RightToLeft.No, new EventArgs(), RightToLeft.No, 0 }; 12217yield return new object[] { RightToLeft.Inherit, RightToLeft.Inherit, null, RightToLeft.No, 1 }; 12218yield return new object[] { RightToLeft.Inherit, RightToLeft.Inherit, new EventArgs(), RightToLeft.No, 1 }; 12660yield return new object[] { RightToLeft.No, null, 0 }; 12661yield return new object[] { RightToLeft.No, new EventArgs(), 0 };
System\Windows\Forms\ToolStripPanelTests.cs (1)
102Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ToolStripTests.cs (120)
145Assert.Equal(RightToLeft.No, control.RightToLeft); 300Assert.Equal(RightToLeft.No, control.RightToLeft); 1664yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1667yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1670yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1673yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1676yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1680yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1683yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1686yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1689yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1692yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1696yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1699yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1702yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1705yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1708yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1712yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1715yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1718yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1721yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1724yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1728yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1731yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1734yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1737yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1740yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1789yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1792yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1795yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1798yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1801yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1805yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1808yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1811yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1814yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1817yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1821yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1824yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1827yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1830yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1833yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1837yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1840yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1843yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1846yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1849yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1853yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right }; 1856yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.No, ToolStripDropDownDirection.Left }; 1859yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.No, ToolStripDropDownDirection.Right }; 1862yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.No, ToolStripDropDownDirection.Right }; 1865yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right }; 1925yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1928yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1931yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1934yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1937yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1941yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1944yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1947yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1950yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1953yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1957yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1960yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left }; 1963yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 1966yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1969yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1973yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1976yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1979yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1982yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 1985yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 1989yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 1992yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left }; 1995yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 1998yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2001yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2029yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2032yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2035yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2038yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2041yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 2045yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2048yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2051yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2054yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2057yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 2061yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2064yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left }; 2067yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2070yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2073yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 2077yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2080yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2083yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2086yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight }; 2089yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight }; 2093yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2096yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left }; 2099yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2102yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2105yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right }; 2267yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Visible, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 2270yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Hidden, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 2274yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.No, new Rectangle(x, 0, width, 25) }; 2277yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 2281yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.No, new Rectangle(x, 0, width, 25) }; 2284yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 2288yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Visible, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 2291yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Hidden, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 2295yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.No, new Rectangle(0, x, 99, height) }; 2298yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.No, new Rectangle(0, 0, 99, 25) }; 3445[InlineData(RightToLeft.No, RightToLeft.No, 0)] 3446[InlineData(RightToLeft.Inherit, RightToLeft.No, 0)] 3505RightToLeft = RightToLeft.No 3514Assert.Equal(RightToLeft.No, item2.RightToLeft); 3521Assert.Equal(RightToLeft.No, item2.RightToLeft); 3550Assert.Equal(RightToLeft.No, control.RightToLeft); 6456RightToLeft = RightToLeft.No
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
331[InlineData(true, RightToLeft.No, false)]
System\Windows\Forms\TreeViewTests.cs (11)
102Assert.Equal(RightToLeft.No, control.RightToLeft); 669[InlineData(RightToLeft.No, true, 0x56010007, 0x200)] 672[InlineData(RightToLeft.No, false, 0x56010007, 0x200)] 3070[InlineData(RightToLeft.No, true, 1)] 3071[InlineData(RightToLeft.No, false, 0)] 3110[InlineData(RightToLeft.No, true, 1, 0, 0)] 3111[InlineData(RightToLeft.No, false, 0, 0, 0)] 6504yield return new object[] { RightToLeft.No, null }; 6505yield return new object[] { RightToLeft.No, new EventArgs() }; 6543yield return new object[] { RightToLeft.No, null, 0 }; 6544yield return new object[] { RightToLeft.No, new EventArgs(), 0 };
System\Windows\Forms\UpDownBaseTests.cs (1)
115Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\UserControlTests.cs (1)
106Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\VScrollBarTests.cs (7)
98Assert.Equal(RightToLeft.No, control.RightToLeft); 148Assert.Equal(RightToLeft.No, control.RightToLeft); 152Assert.Equal(RightToLeft.No, control.RightToLeft); 170Assert.Equal(RightToLeft.No, control.RightToLeft); 175Assert.Equal(RightToLeft.No, control.RightToLeft); 180Assert.Equal(RightToLeft.No, control.RightToLeft); 186Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\WebBrowserTests.cs (1)
84Assert.Equal(RightToLeft.No, control.RightToLeft);
TextBoxTests.cs (1)
100Assert.Equal(RightToLeft.No, control.RightToLeft);
TrackBarTests.cs (33)
91Assert.Equal(RightToLeft.No, control.RightToLeft); 189[InlineData(RightToLeft.No, true, 0x0)] 192[InlineData(RightToLeft.No, false, 0x0)] 796[InlineData(RightToLeft.No, true, 5)] 799[InlineData(RightToLeft.No, false, 5)] 1550[InlineData(RightToLeft.No, true, 1)] 1551[InlineData(RightToLeft.No, false, 0)] 1590[InlineData(RightToLeft.No, true, 1, 0, 0)] 1591[InlineData(RightToLeft.No, false, 0, 0, 0)] 2044yield return new object[] { Orientation.Horizontal, RightToLeft.No, true, 0, 0 }; 2045yield return new object[] { Orientation.Horizontal, RightToLeft.No, false, 0, 0 }; 2050yield return new object[] { Orientation.Vertical, RightToLeft.No, true, 0, 10 }; 2051yield return new object[] { Orientation.Vertical, RightToLeft.No, false, 0, 10 }; 2057yield return new object[] { Orientation.Horizontal, RightToLeft.No, true, 1, 1 }; 2058yield return new object[] { Orientation.Horizontal, RightToLeft.No, false, 1, 1 }; 2063yield return new object[] { Orientation.Vertical, RightToLeft.No, true, 1, 9 }; 2064yield return new object[] { Orientation.Vertical, RightToLeft.No, false, 1, 9 }; 2070yield return new object[] { Orientation.Horizontal, RightToLeft.No, true, 5, 5 }; 2071yield return new object[] { Orientation.Horizontal, RightToLeft.No, false, 5, 5 }; 2076yield return new object[] { Orientation.Vertical, RightToLeft.No, true, 5, 5 }; 2077yield return new object[] { Orientation.Vertical, RightToLeft.No, false, 5, 5 }; 2083yield return new object[] { Orientation.Horizontal, RightToLeft.No, true, 9, 9 }; 2084yield return new object[] { Orientation.Horizontal, RightToLeft.No, false, 9, 9 }; 2089yield return new object[] { Orientation.Vertical, RightToLeft.No, true, 9, 1 }; 2090yield return new object[] { Orientation.Vertical, RightToLeft.No, false, 9, 1 }; 2096yield return new object[] { Orientation.Horizontal, RightToLeft.No, true, 10, 10 }; 2097yield return new object[] { Orientation.Horizontal, RightToLeft.No, false, 10, 10 }; 2102yield return new object[] { Orientation.Vertical, RightToLeft.No, true, 10, 0 }; 2103yield return new object[] { Orientation.Vertical, RightToLeft.No, false, 10, 0 }; 2607yield return new object[] { RightToLeft.No, null }; 2608yield return new object[] { RightToLeft.No, new EventArgs() }; 2646yield return new object[] { RightToLeft.No, null, 0 }; 2647yield return new object[] { RightToLeft.No, new EventArgs(), 0 };
System.Windows.Forms.TestUtilities (27)
CommonTestHelperEx.cs (3)
68{ RightToLeft.Inherit, RightToLeft.No }, 70{ RightToLeft.No, RightToLeft.No }
ScrollBarTestHelper.cs (12)
13foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 26foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 38foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 51foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 63foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 71foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 81foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 93foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 104foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 113foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 121foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 130foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No })
TrackBarTestHelper.cs (12)
20foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 34foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 42int value = orientation == Orientation.Horizontal && (rightToLeft == RightToLeft.No || isMirrored) 57foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 65int value = orientation == Orientation.Horizontal && (rightToLeft == RightToLeft.No || isMirrored) 79foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 87int value = orientation == Orientation.Horizontal && (rightToLeft == RightToLeft.No || isMirrored) 103foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 111int value = orientation == Orientation.Horizontal && (rightToLeft == RightToLeft.No || isMirrored) 125foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 139foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No }) 159foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.Yes, RightToLeft.No })
System.Windows.Forms.UI.IntegrationTests (1)
ApplicationTests.cs (1)
22using Form child = new() { RightToLeft = RightToLeft.No };
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (1)
1085RightToLeft.No : _rightToLeft;
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
119adapter.RightToLeft = SWF.RightToLeft.No;
WinFormsControlsTest (3)
MdiChild.cs (1)
98MyParent.MainMenuStrip.RightToLeft = chkRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
ScrollBars.cs (1)
43hScrollBar.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
TrackBars.cs (1)
56trackBar1.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;