933 references to Yes
Accessibility_Core_App (1)
CommonControl1.Designer.cs (1)
658
this.dateTimePicker2.RightToLeft = System.Windows.Forms.RightToLeft.
Yes
;
PresentationUI (2)
MS\Internal\Documents\DialogBaseForm.cs (1)
155
RightToLeft = RightToLeft.
Yes
;
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
625
if (RightToLeft == RightToLeft.
Yes
)
System.Windows.Forms (126)
System\Windows\Forms\ActiveX\AxHost.cs (3)
377
return rtol == Forms.RightToLeft.
Yes
;
379
set => base.RightToLeft = (value) ? Forms.RightToLeft.
Yes
: Forms.RightToLeft.No;
2152
if (control.RightToLeft == Forms.RightToLeft.
Yes
)
System\Windows\Forms\Control.cs (6)
1364
if (RightToLeft == RightToLeft.
Yes
)
7367
si.nPos = (RightToLeft == RightToLeft.
Yes
) ? si.nMax : si.nMin;
10503
if (RightToLeft == RightToLeft.
Yes
)
10521
if (RightToLeft == RightToLeft.
Yes
)
10539
if (RightToLeft == RightToLeft.
Yes
)
12698
TopLevelControlInternal is { } topLevelControl && topLevelControl.RightToLeft == RightToLeft.
Yes
&& !IsMirrored;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
583
LayoutRTL = rtl == RightToLeft.
Yes
,
610
LayoutRTL = Control.RightToLeft == RightToLeft.
Yes
,
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
346
layout.LayoutRTL = Control.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (4)
53
if (_origRightToLeft == RightToLeft.
Yes
)
79
bool rightToLeft = comboBox.RightToLeft == RightToLeft.
Yes
;
121
bool rightToLeft = comboBox.RightToLeft == RightToLeft.
Yes
;
168
if (_origRightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3158
_dataGridViewState2[State2_RightToLeftMode] = (RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
30041
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
335
bool IKeyboardToolTip.HasRtlModeEnabled() => DataGridView is not null && DataGridView.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
338
if (_owner.DataGridView.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
36
if (Owner.DataGridView.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (2)
135
(RightToLeft == RightToLeft.
Yes
&& !(SelectionLength == 0 && SelectionStart == 0)))
147
(RightToLeft == RightToLeft.
Yes
&& !(SelectionLength == 0 && SelectionStart == Text.Length)))
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
411
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
1166
if (RightToLeft == RightToLeft.
Yes
)
1503
if (RightToLeftLayout && RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (4)
419
if (RightToLeft == RightToLeft.
Yes
)
481
if (RightToLeft == RightToLeft.
Yes
)
508
if (RightToLeft == RightToLeft.
Yes
)
535
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (4)
546
if (RightToLeft == RightToLeft.
Yes
)
575
if (RightToLeft == RightToLeft.
Yes
)
667
if (RightToLeft == RightToLeft.
Yes
)
695
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1854
if (RightToLeft == RightToLeft.
Yes
|| HorizontalScrollbar)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
336
if ((Index != 0) && (ListView.RightToLeft == RightToLeft.
Yes
) && !ListView.IsMirrored)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
724
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
4816
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
66
bool IKeyboardToolTip.HasRtlModeEnabled() => _listView?.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
308
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
1474
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
63
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
629
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
119
RightToLeft = RightToLeft.
Yes
;
System\Windows\Forms\Controls\TabControl\TabControl.cs (3)
336
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
1425
if (RightToLeft == RightToLeft.
Yes
)
1924
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
871
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (4)
214
if (RightToLeft == RightToLeft.
Yes
)
269
if (SizingGrip && RightToLeft == RightToLeft.
Yes
)
580
if (RightToLeft == RightToLeft.
Yes
)
594
if (RightToLeft != RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (5)
606
direction = (RightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.AboveRight;
611
direction = (RightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
2028
if (rtlAware && RightToLeft == RightToLeft.
Yes
)
3022
if (RightToLeft == RightToLeft.
Yes
)
4181
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
365
if (rightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
276
? (RightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right
1824
if (OwnerItem is null && control.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (1)
62
if (_ownerItem.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (5)
147
RightToLeft toggledRightToLeft = (RightToLeft == RightToLeft.
Yes
) ? RightToLeft.No : RightToLeft.
Yes
;
388
bool rtl = (RightToLeft == RightToLeft.
Yes
);
667
return (rightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
671
return (rightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (3)
76
int textPadding = (rightToLeft == RightToLeft.
Yes
) ? _textPadding.Right : _textPadding.Left;
80
if (rightToLeft == RightToLeft.
Yes
)
434
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (2)
119
layoutOptions.LayoutRTL = Owner.RightToLeft == RightToLeft.
Yes
;
126
layoutOptions.GdiTextFormatFlags = ContentAlignmentToTextFormat(Owner.TextAlign, Owner.RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemImageRenderEventArgs.cs (1)
14
Image = (item.RightToLeftAutoMirrorImage && item.RightToLeft == RightToLeft.
Yes
) ? item.MirroredImage : item.Image;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemTextRenderEventArgs.cs (1)
58
TextFormat = ToolStripItem.ToolStripItemInternalLayout.ContentAlignmentToTextFormat(textAlign, item.RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
244
toolStrip.SelectNextToolStripItem(start: null, toolStrip.RightToLeft != RightToLeft.
Yes
);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
972
bool rightToLeft = (RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
420
&& toolStripToDrag.RightToLeft == RightToLeft.
Yes
)
676
if (Orientation == Orientation.Horizontal && RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (6)
160
bool rightToLeft = item.RightToLeft == RightToLeft.
Yes
;
287
Padding deflatePadding = item.RightToLeft == RightToLeft.
Yes
? new Padding(0, 1, 1, 1) : new Padding(1, 1, 0, 1);
486
bool rightToLeft = (e.ToolStrip.RightToLeft == RightToLeft.
Yes
);
704
FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds, _iconWellGradientWidth, _iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.
Yes
));
1126
if (control.RightToLeft == RightToLeft.
Yes
)
1505
bool rightToLeft = (item.RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
983
if (statusStrip.RightToLeft == RightToLeft.
Yes
)
990
if (statusStrip.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
102
insertIndex = Math.Max(0, (_owner.RightToLeft == RightToLeft.
Yes
) ? insertIndex + 1 : insertIndex);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
291
if (((item.Alignment == ToolStripItemAlignment.Right) && (toolStrip.RightToLeft == RightToLeft.No)) || ((item.Alignment == ToolStripItemAlignment.Left) && (toolStrip.RightToLeft == RightToLeft.
Yes
)))
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (5)
325
RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, e.ToolStrip.RightToLeft == RightToLeft.
Yes
);
437
RenderSmall3DBorderInternal(g, bounds, state, (item.RightToLeft == RightToLeft.
Yes
));
523
bool rightToLeft = splitButton.RightToLeft == RightToLeft.
Yes
;
668
RenderSmall3DBorderInternal(g, new Rectangle(Point.Empty, item.Size), state, (item.RightToLeft == RightToLeft.
Yes
));
713
bool rightToLeft = (item.RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
180
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
830
if (_orientation == Orientation.Horizontal && RightToLeft == RightToLeft.
Yes
&& !IsMirrored)
889
if (RightToLeft == RightToLeft.
Yes
)
1117
if (_orientation == Orientation.Horizontal && RightToLeft == RightToLeft.
Yes
&& !IsMirrored)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (2)
57
=> this.TryGetOwnerAs(out TrackBar? owner) && owner.RightToLeft == RightToLeft.
Yes
&& owner.RightToLeftLayout;
63
=> this.TryGetOwnerAs(out TrackBar? owner) && owner.RightToLeft == RightToLeft.
Yes
&& !owner.RightToLeftLayout;
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
41
bool IKeyboardToolTip.HasRtlModeEnabled() => TreeView?.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
392
if (RightToLeft == RightToLeft.
Yes
)
2320
if (RightToLeft == RightToLeft.
Yes
)
2980
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Form.cs (3)
841
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout)
4595
if (RightToLeft == RightToLeft.
Yes
)
4606
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
1571
_splitterRect.X = ((RightToLeft == RightToLeft.
Yes
) ? Width - _splitterDistance - SplitterWidthInternal : Location.X + _splitterDistance);
2171
bool isRTL = RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Layout\FlowLayout.ContainerProxy.cs (1)
41
_isContainerRTL = control.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Layout\TableLayout.cs (1)
1185
isContainerRTL = containerAsControl.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\MDI\MDIClient.cs (1)
109
if (RightToLeft == RightToLeft.
Yes
&& ParentInternal is not null && ParentInternal.IsMirrored)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
359
bool isRTL = RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
34
RightToLeft = RightToLeft.
Yes
;
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
452
if (RightToLeft == RightToLeft.
Yes
)
814
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Rendering\ControlPaint.cs (3)
450
if (rightToLeft == RightToLeft.
Yes
&& backgroundImageLayout == ImageLayout.None)
2551
if (control.RightToLeft == RightToLeft.
Yes
)
2606
if (control.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
992
if (horiz && !HScroll && (RightToLeft == RightToLeft.
Yes
))
1238
(WPARAM)(RightToLeft == RightToLeft.
Yes
? (int)SCROLLBAR_COMMAND.SB_RIGHT : (int)SCROLLBAR_COMMAND.SB_LEFT),
System\Windows\Forms\Scrolling\ScrollBar.cs (3)
613
if (RightToLeft == RightToLeft.
Yes
)
636
if (RightToLeft == RightToLeft.
Yes
)
708
if (RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarFirstPageButtonAccessibleObject.cs (1)
31
&& OwningScrollBar.RightToLeft == RightToLeft.
Yes
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastPageButtonAccessibleObject.cs (1)
31
&& OwningScrollBar.RightToLeft == RightToLeft.
Yes
System\Windows\Forms\ToolTip\ToolTip.cs (2)
977
if (TopLevelControl?.RightToLeft == RightToLeft.
Yes
&& !control.IsMirrored)
992
if (TopLevelControl?.RightToLeft == RightToLeft.
Yes
)
System.Windows.Forms.Design (19)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (1)
203
if (RightToLeft == RightToLeft.
Yes
)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
475
if (RightToLeft == RightToLeft.
Yes
)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
342
if (ActionPanel.RightToLeft != RightToLeft.
Yes
)
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
251
if (isColumn && _table.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
140
private bool IsRtl => Control.RightToLeft == RightToLeft.
Yes
;
System\Windows\Forms\Design\FormatStringDialog.cs (1)
35
RightToLeft = RightToLeft.
Yes
;
System\Windows\Forms\Design\LabelDesigner.cs (1)
75
bool rtl = (label.RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
859
bool isRTL = (Table.RightToLeft == RightToLeft.
Yes
);
974
bool isRTL = Table.RightToLeft == RightToLeft.
Yes
;
1085
bool isRTL = (Table.RightToLeft == RightToLeft.
Yes
);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1825
if (ToolStrip.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (6)
301
if (parent.RightToLeft == RightToLeft.
Yes
&& (direction == ArrowDirection.Left || direction == ArrowDirection.Right))
1807
if ((ctl.RightToLeft != RightToLeft.
Yes
&& !backwards) || (ctl.RightToLeft == RightToLeft.
Yes
&& backwards))
1898
else if (item == parent.Items[0] && parent.RightToLeft != RightToLeft.
Yes
)
1948
else if (item == parent.Items[0] && parent.RightToLeft == RightToLeft.
Yes
)
1979
if (parent.RightToLeft == RightToLeft.
Yes
)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1896
if (_owner.EditorToolStrip.RightToLeft == RightToLeft.
Yes
)
1917
if (_owner.EditorToolStrip.RightToLeft == RightToLeft.
Yes
)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\FormatStringDialogTests.cs (1)
43
_formatStringDialog.RightToLeft.Should().Be(RightToLeft.
Yes
);
System.Windows.Forms.Tests (745)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
32
[InlineData(RightToLeft.
Yes
)]
64
[InlineData(RightToLeft.
Yes
)]
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
115
yield return new object[] { RightToLeft.
Yes
, SR.DataGridView_AccTopLeftColumnHeaderCellNameRTL };
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (3)
204
using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.
Yes
, minimum: 0, maximum: 100, value: 50);
240
[InlineData(RightToLeft.
Yes
, 99, 100)]
241
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (3)
227
using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.
Yes
, minimum: 0, maximum: 100, value: 50);
263
[InlineData(RightToLeft.
Yes
, 99, 100)]
264
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (3)
214
using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.
Yes
, minimum: 0, maximum: 100, value: 50);
250
[InlineData(RightToLeft.
Yes
, 0, 100)]
251
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (3)
214
using HScrollBar scrollBar = GetHScrollBar(createControl: true, RightToLeft.
Yes
, minimum: 0, maximum: 100, value: 50);
250
[InlineData(RightToLeft.
Yes
, 0, 100)]
251
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (11)
69
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
73
if (rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout == false)
104
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
108
if (orientation == Orientation.Vertical || (rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout == false))
248
[InlineData(Orientation.Vertical, RightToLeft.
Yes
, true)]
249
[InlineData(Orientation.Vertical, RightToLeft.
Yes
, false)]
252
[InlineData(Orientation.Horizontal, RightToLeft.
Yes
, false)]
277
[InlineData(Orientation.Horizontal, RightToLeft.
Yes
, true)]
403
[InlineData(Orientation.Horizontal, RightToLeft.
Yes
, true)]
414
[InlineData(Orientation.Vertical, RightToLeft.
Yes
, true)]
415
[InlineData(Orientation.Vertical, RightToLeft.
Yes
, false)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (8)
69
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
73
if (rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout == false)
104
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
108
if (orientation == Orientation.Vertical || (rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout == false))
249
[InlineData(Orientation.Vertical, RightToLeft.
Yes
, true)]
250
[InlineData(Orientation.Vertical, RightToLeft.
Yes
, false)]
253
[InlineData(Orientation.Horizontal, RightToLeft.
Yes
, false)]
278
[InlineData(Orientation.Horizontal, RightToLeft.
Yes
, true)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (3)
202
[InlineData(RightToLeft.
Yes
)]
224
[InlineData(RightToLeft.
Yes
, 0, 100)]
225
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (3)
225
[InlineData(RightToLeft.
Yes
)]
247
[InlineData(RightToLeft.
Yes
, 0, 100)]
248
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (3)
212
[InlineData(RightToLeft.
Yes
)]
234
[InlineData(RightToLeft.
Yes
, 99, 100)]
235
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (3)
212
[InlineData(RightToLeft.
Yes
)]
234
[InlineData(RightToLeft.
Yes
, 99, 100)]
235
[InlineData(RightToLeft.
Yes
, 0, 0)]
System\Windows\Forms\ButtonBaseTests.cs (10)
184
yield return new object[] { flatStyle, RightToLeft.
Yes
, textAlign, 0x56010000, 0x7000 };
190
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.BottomLeft, 0x56012A00, 0x6000 };
191
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.BottomCenter, 0x56012B00, 0x6000 };
192
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.BottomRight, 0x56012900, 0x6000 };
193
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.MiddleLeft, 0x56012E00, 0x6000 };
194
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.MiddleCenter, 0x56012F00, 0x6000 };
195
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.MiddleRight, 0x56012D00, 0x6000 };
196
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.TopLeft, 0x56012600, 0x6000 };
197
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.TopCenter, 0x56012700, 0x6000 };
198
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.TopRight, 0x56012500, 0x6000 };
System\Windows\Forms\ButtonTests.cs (10)
206
yield return new object[] { flatStyle, RightToLeft.
Yes
, textAlign, 0x5601000B, 0x7000 };
212
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.BottomLeft, 0x56012A00, 0x6000 };
213
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.BottomCenter, 0x56012B00, 0x6000 };
214
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.BottomRight, 0x56012900, 0x6000 };
215
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.MiddleLeft, 0x56012E00, 0x6000 };
216
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.MiddleCenter, 0x56012F00, 0x6000 };
217
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.MiddleRight, 0x56012D00, 0x6000 };
218
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.TopLeft, 0x56012600, 0x6000 };
219
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.TopCenter, 0x56012700, 0x6000 };
220
yield return new object[] { FlatStyle.System, RightToLeft.
Yes
, ContentAlignment.TopRight, 0x56012500, 0x6000 };
System\Windows\Forms\ColumnHeaderTests.cs (2)
1021
[InlineData(RightToLeft.
Yes
, true, HorizontalAlignment.Left)]
1024
[InlineData(RightToLeft.
Yes
, false, HorizontalAlignment.Right)]
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (4)
117
[InlineData(ComboBoxStyle.DropDown, RightToLeft.
Yes
, true)]
119
[InlineData(ComboBoxStyle.Simple, RightToLeft.
Yes
, true)]
133
[InlineData(ComboBoxStyle.DropDown, RightToLeft.
Yes
)]
135
[InlineData(ComboBoxStyle.Simple, RightToLeft.
Yes
)]
System\Windows\Forms\ComboBoxTests.cs (6)
1291
control.RightToLeft = RightToLeft.
Yes
;
1292
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
1296
control.RightToLeft = RightToLeft.
Yes
;
1297
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
1307
control.RightToLeft = RightToLeft.
Yes
;
1308
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
System\Windows\Forms\ControlTests.ControlCollection.cs (16)
656
owner.RightToLeft = RightToLeft.
Yes
;
766
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
806
owner.RightToLeft = RightToLeft.
Yes
;
925
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
959
owner.RightToLeft = RightToLeft.
Yes
;
1002
Assert.Equal(RightToLeft.
Yes
, ((Control)control).RightToLeft);
1032
owner.RightToLeft = RightToLeft.
Yes
;
1082
Assert.Equal(RightToLeft.
Yes
, ((Control)control).RightToLeft);
2359
owner.RightToLeft = RightToLeft.
Yes
;
2360
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2503
owner.RightToLeft = RightToLeft.
Yes
;
2504
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2635
owner.RightToLeft = RightToLeft.
Yes
;
2636
Assert.Equal(RightToLeft.
Yes
, ((Control)control).RightToLeft);
2699
owner.RightToLeft = RightToLeft.
Yes
;
2700
Assert.Equal(RightToLeft.
Yes
, ((Control)control).RightToLeft);
System\Windows\Forms\ControlTests.cs (8)
643
[InlineData(RightToLeft.
Yes
, 0x7000)]
780
[InlineData(RightToLeft.
Yes
)]
799
[InlineData(RightToLeft.
Yes
)]
818
[InlineData(RightToLeft.
Yes
)]
839
[InlineData(RightToLeft.
Yes
)]
860
[InlineData(RightToLeft.
Yes
)]
922
[InlineData(RightToLeft.
Yes
)]
979
[InlineData(RightToLeft.
Yes
)]
System\Windows\Forms\ControlTests.Handlers.cs (1)
5081
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\ControlTests.Methods.cs (15)
6540
control.RightToLeft = RightToLeft.
Yes
;
6913
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.BottomCenter, ContentAlignment.BottomCenter };
6914
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.BottomLeft, ContentAlignment.BottomRight };
6915
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.BottomRight, ContentAlignment.BottomLeft };
6916
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.MiddleCenter, ContentAlignment.MiddleCenter };
6917
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.MiddleLeft, ContentAlignment.MiddleRight };
6918
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.MiddleRight, ContentAlignment.MiddleLeft };
6919
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.TopCenter, ContentAlignment.TopCenter };
6920
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.TopLeft, ContentAlignment.TopRight };
6921
yield return new object[] { RightToLeft.
Yes
, ContentAlignment.TopRight, ContentAlignment.TopLeft };
6948
yield return new object[] { RightToLeft.
Yes
, LeftRightAlignment.Left, LeftRightAlignment.Right };
6949
yield return new object[] { RightToLeft.
Yes
, LeftRightAlignment.Right, LeftRightAlignment.Left };
6976
yield return new object[] { RightToLeft.
Yes
, HorizontalAlignment.Center, HorizontalAlignment.Center };
6977
yield return new object[] { RightToLeft.
Yes
, HorizontalAlignment.Left, HorizontalAlignment.Right };
6978
yield return new object[] { RightToLeft.
Yes
, HorizontalAlignment.Right, HorizontalAlignment.Left };
System\Windows\Forms\ControlTests.Properties.cs (44)
10076
RightToLeft = RightToLeft.
Yes
10119
RightToLeft = RightToLeft.
Yes
10131
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10138
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10144
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, 1)]
10175
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, 0)]
10182
RightToLeft = RightToLeft.
Yes
10222
control.RightToLeft = RightToLeft.
Yes
;
10223
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10227
control.RightToLeft = RightToLeft.
Yes
;
10228
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10238
control.RightToLeft = RightToLeft.
Yes
;
10239
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10257
control.RightToLeft = RightToLeft.
Yes
;
10258
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10312
control.RightToLeft = RightToLeft.
Yes
;
10313
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10314
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10315
Assert.Equal(RightToLeft.
Yes
, child2.RightToLeft);
10321
control.RightToLeft = RightToLeft.
Yes
;
10322
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10323
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10324
Assert.Equal(RightToLeft.
Yes
, child2.RightToLeft);
10342
control.RightToLeft = RightToLeft.
Yes
;
10343
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10344
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10345
Assert.Equal(RightToLeft.
Yes
, child2.RightToLeft);
10356
RightToLeft = RightToLeft.
Yes
10392
control.RightToLeft = RightToLeft.
Yes
;
10393
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10394
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10401
control.RightToLeft = RightToLeft.
Yes
;
10402
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10403
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10412
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10422
control.RightToLeft = RightToLeft.
Yes
;
10423
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10424
Assert.Equal(RightToLeft.
Yes
, child1.RightToLeft);
10446
control.RightToLeft = RightToLeft.
Yes
;
10447
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
10474
control.RightToLeft = RightToLeft.
Yes
;
10475
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
System\Windows\Forms\DataGridViewCellTests.cs (1)
3273
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\DataGridViewRowTests.cs (24)
3427
true, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, isFirstDisplayedRow, true,
3437
false, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, isFirstDisplayedRow, true,
3449
true, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, true, true,
3459
false, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, true, true,
3469
false, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.InsetDouble, true, true, false, true,
3524
true, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, isFirstDisplayedRow, true,
3534
false, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, isFirstDisplayedRow, true,
3546
true, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, true, true,
3556
false, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, true, true,
3566
false, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetDouble, true, true, false, true,
3582
true, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, isFirstDisplayedRow, isLastVisibleRow,
3597
true, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, isLastVisibleRow,
3609
false, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, true,
3619
false, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, false,
3629
false, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, false, true,
3639
false, true, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, false, false,
3649
false, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, true, true,
3659
false, false, RightToLeft.
Yes
, DataGridViewAdvancedCellBorderStyle.OutsetPartial, true, true, false, false,
4662
RightToLeft = RightToLeft.
Yes
4759
RightToLeft = RightToLeft.
Yes
5108
RightToLeft = RightToLeft.
Yes
5205
RightToLeft = RightToLeft.
Yes
5428
RightToLeft = RightToLeft.
Yes
5525
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (13)
1018
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Right, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1020
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Left, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1022
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Down, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1024
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Up, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1026
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Home, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1028
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.End, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1030
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Prior, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || valueChanged };
1032
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Next, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || valueChanged };
1034
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Delete, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1036
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Enter, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1038
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift | Keys.Control, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1040
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || (multiline && acceptsReturn) };
1042
yield return new object[] { RightToLeft.
Yes
, valueChanged, multiline, acceptsReturn, Keys.A, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\HScrollBarTests.cs (6)
171
control.RightToLeft = RightToLeft.
Yes
;
172
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
176
control.RightToLeft = RightToLeft.
Yes
;
177
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
187
control.RightToLeft = RightToLeft.
Yes
;
188
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
System\Windows\Forms\ListBoxTests.cs (6)
2204
control.RightToLeft = RightToLeft.
Yes
;
2205
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2209
control.RightToLeft = RightToLeft.
Yes
;
2210
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2220
control.RightToLeft = RightToLeft.
Yes
;
2221
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (3)
659
[InlineData(true, true, RightToLeft.
Yes
, true)]
662
[InlineData(true, false, RightToLeft.
Yes
, true)]
665
[InlineData(false, true, RightToLeft.
Yes
, false)]
System\Windows\Forms\MdiClientTests.cs (19)
340
[InlineData(RightToLeft.
Yes
, true)]
365
[InlineData(RightToLeft.Inherit, RightToLeft.
Yes
)]
368
[InlineData(RightToLeft.No, RightToLeft.
Yes
)]
369
[InlineData(RightToLeft.
Yes
, RightToLeft.Inherit)]
370
[InlineData(RightToLeft.
Yes
, RightToLeft.No)]
371
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
)]
392
[InlineData(RightToLeft.Inherit, RightToLeft.
Yes
, true)]
393
[InlineData(RightToLeft.Inherit, RightToLeft.
Yes
, false)]
398
[InlineData(RightToLeft.No, RightToLeft.
Yes
, true)]
399
[InlineData(RightToLeft.No, RightToLeft.
Yes
, false)]
400
[InlineData(RightToLeft.
Yes
, RightToLeft.Inherit, true)]
401
[InlineData(RightToLeft.
Yes
, RightToLeft.Inherit, false)]
402
[InlineData(RightToLeft.
Yes
, RightToLeft.No, true)]
403
[InlineData(RightToLeft.
Yes
, RightToLeft.No, false)]
404
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, true)]
405
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, false)]
System\Windows\Forms\MdiControlStripTests.cs (3)
195
[InlineData(RightToLeft.
Yes
)]
241
[InlineData(RightToLeft.
Yes
)]
286
[InlineData(RightToLeft.
Yes
)]
System\Windows\Forms\MonthCalendarTests.cs (10)
1717
[InlineData(RightToLeft.
Yes
, true, 1)]
1718
[InlineData(RightToLeft.
Yes
, false, 0)]
1757
[InlineData(RightToLeft.
Yes
, true, 1, 1, 2)]
1758
[InlineData(RightToLeft.
Yes
, false, 0, 0, 1)]
1855
RightToLeft = RightToLeft.
Yes
3783
yield return new object[] { RightToLeft.
Yes
, null };
3784
yield return new object[] { RightToLeft.
Yes
, new EventArgs() };
3822
yield return new object[] { RightToLeft.
Yes
, null, 1 };
3823
yield return new object[] { RightToLeft.
Yes
, new EventArgs(), 1 };
3877
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\PictureBoxTests.cs (6)
1248
control.RightToLeft = RightToLeft.
Yes
;
1249
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
1253
control.RightToLeft = RightToLeft.
Yes
;
1254
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
1264
control.RightToLeft = RightToLeft.
Yes
;
1265
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
System\Windows\Forms\ProgressBarTests.cs (12)
167
[InlineData(RightToLeft.
Yes
, true, 0x56010000, 0x400000)]
170
[InlineData(RightToLeft.
Yes
, false, 0x56010000, 0x7000)]
1182
[InlineData(RightToLeft.
Yes
, true, 1)]
1183
[InlineData(RightToLeft.
Yes
, false, 0)]
1222
[InlineData(RightToLeft.
Yes
, true, 1, 1, 2)]
1223
[InlineData(RightToLeft.
Yes
, false, 0, 0, 1)]
1320
RightToLeft = RightToLeft.
Yes
2370
yield return new object[] { RightToLeft.
Yes
, null };
2371
yield return new object[] { RightToLeft.
Yes
, new EventArgs() };
2409
yield return new object[] { RightToLeft.
Yes
, null, 1 };
2410
yield return new object[] { RightToLeft.
Yes
, new EventArgs(), 1 };
2464
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\ScrollBarTests.cs (108)
596
[InlineData(RightToLeft.
Yes
)]
1211
control.RightToLeft = RightToLeft.
Yes
;
1212
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
1216
control.RightToLeft = RightToLeft.
Yes
;
1217
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
1227
control.RightToLeft = RightToLeft.
Yes
;
1228
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2232
yield return new object[] { RightToLeft.
Yes
, 10, -119, new List<ScrollEventArgs>(), 10 };
2233
yield return new object[] { RightToLeft.
Yes
, 10, 0, new List<ScrollEventArgs>(), 10 };
2234
yield return new object[] { RightToLeft.
Yes
, 10, 119, new List<ScrollEventArgs>(), 10 };
2297
RightToLeft.
Yes
, 10, -120,
2306
RightToLeft.
Yes
, 10, -121,
2315
RightToLeft.
Yes
, 10, -240,
2325
RightToLeft.
Yes
, 1, -120,
2334
RightToLeft.
Yes
, 1, -240,
2344
RightToLeft.
Yes
, 100, -240,
2413
RightToLeft.
Yes
, 10, 120,
2422
RightToLeft.
Yes
, 10, 121,
2431
RightToLeft.
Yes
, 10, 240,
2441
RightToLeft.
Yes
, 90, 120,
2450
RightToLeft.
Yes
, 99, 120,
2459
RightToLeft.
Yes
, 99, 240,
2646
RightToLeft = RightToLeft.
Yes
2718
yield return new object[] { msg, RightToLeft.
Yes
, 100, ScrollEventType.SmallDecrement, 91, ScrollEventType.SmallIncrement };
2719
yield return new object[] { msg, RightToLeft.
Yes
, 99, ScrollEventType.SmallDecrement, 91, ScrollEventType.SmallIncrement };
2720
yield return new object[] { msg, RightToLeft.
Yes
, 91, ScrollEventType.SmallDecrement, 91, ScrollEventType.SmallIncrement };
2721
yield return new object[] { msg, RightToLeft.
Yes
, 85, ScrollEventType.SmallDecrement, 86, ScrollEventType.SmallIncrement };
2722
yield return new object[] { msg, RightToLeft.
Yes
, 15, ScrollEventType.SmallDecrement, 16, ScrollEventType.SmallIncrement };
2723
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.SmallDecrement, 11, ScrollEventType.SmallIncrement };
2724
yield return new object[] { msg, RightToLeft.
Yes
, 1, ScrollEventType.SmallDecrement, 2, ScrollEventType.SmallIncrement };
2725
yield return new object[] { msg, RightToLeft.
Yes
, 0, ScrollEventType.SmallDecrement, 1, ScrollEventType.SmallIncrement };
2735
yield return new object[] { msg, RightToLeft.
Yes
, 100, ScrollEventType.LargeDecrement, 91, ScrollEventType.LargeIncrement };
2736
yield return new object[] { msg, RightToLeft.
Yes
, 99, ScrollEventType.LargeDecrement, 91, ScrollEventType.LargeIncrement };
2737
yield return new object[] { msg, RightToLeft.
Yes
, 91, ScrollEventType.LargeDecrement, 91, ScrollEventType.LargeIncrement };
2738
yield return new object[] { msg, RightToLeft.
Yes
, 85, ScrollEventType.LargeDecrement, 91, ScrollEventType.LargeIncrement };
2739
yield return new object[] { msg, RightToLeft.
Yes
, 15, ScrollEventType.LargeDecrement, 25, ScrollEventType.LargeIncrement };
2740
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.LargeDecrement, 20, ScrollEventType.LargeIncrement };
2741
yield return new object[] { msg, RightToLeft.
Yes
, 1, ScrollEventType.LargeDecrement, 11, ScrollEventType.LargeIncrement };
2742
yield return new object[] { msg, RightToLeft.
Yes
, 0, ScrollEventType.LargeDecrement, 10, ScrollEventType.LargeIncrement };
2752
yield return new object[] { msg, RightToLeft.
Yes
, 100, ScrollEventType.SmallIncrement, 99, ScrollEventType.SmallDecrement };
2753
yield return new object[] { msg, RightToLeft.
Yes
, 99, ScrollEventType.SmallIncrement, 98, ScrollEventType.SmallDecrement };
2754
yield return new object[] { msg, RightToLeft.
Yes
, 91, ScrollEventType.SmallIncrement, 90, ScrollEventType.SmallDecrement };
2755
yield return new object[] { msg, RightToLeft.
Yes
, 85, ScrollEventType.SmallIncrement, 84, ScrollEventType.SmallDecrement };
2756
yield return new object[] { msg, RightToLeft.
Yes
, 15, ScrollEventType.SmallIncrement, 14, ScrollEventType.SmallDecrement };
2757
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.SmallIncrement, 9, ScrollEventType.SmallDecrement };
2758
yield return new object[] { msg, RightToLeft.
Yes
, 1, ScrollEventType.SmallIncrement, 0, ScrollEventType.SmallDecrement };
2759
yield return new object[] { msg, RightToLeft.
Yes
, 0, ScrollEventType.SmallIncrement, 0, ScrollEventType.SmallDecrement };
2769
yield return new object[] { msg, RightToLeft.
Yes
, 100, ScrollEventType.LargeIncrement, 90, ScrollEventType.LargeDecrement };
2770
yield return new object[] { msg, RightToLeft.
Yes
, 99, ScrollEventType.LargeIncrement, 89, ScrollEventType.LargeDecrement };
2771
yield return new object[] { msg, RightToLeft.
Yes
, 91, ScrollEventType.LargeIncrement, 81, ScrollEventType.LargeDecrement };
2772
yield return new object[] { msg, RightToLeft.
Yes
, 85, ScrollEventType.LargeIncrement, 75, ScrollEventType.LargeDecrement };
2773
yield return new object[] { msg, RightToLeft.
Yes
, 15, ScrollEventType.LargeIncrement, 5, ScrollEventType.LargeDecrement };
2774
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.LargeIncrement, 0, ScrollEventType.LargeDecrement };
2775
yield return new object[] { msg, RightToLeft.
Yes
, 1, ScrollEventType.LargeIncrement, 0, ScrollEventType.LargeDecrement };
2776
yield return new object[] { msg, RightToLeft.
Yes
, 0, ScrollEventType.LargeIncrement, 0, ScrollEventType.LargeDecrement };
2786
yield return new object[] { msg, RightToLeft.
Yes
, 100, ScrollEventType.Last, 0, ScrollEventType.First };
2787
yield return new object[] { msg, RightToLeft.
Yes
, 99, ScrollEventType.Last, 0, ScrollEventType.First };
2788
yield return new object[] { msg, RightToLeft.
Yes
, 91, ScrollEventType.Last, 0, ScrollEventType.First };
2789
yield return new object[] { msg, RightToLeft.
Yes
, 85, ScrollEventType.Last, 0, ScrollEventType.First };
2790
yield return new object[] { msg, RightToLeft.
Yes
, 15, ScrollEventType.Last, 0, ScrollEventType.First };
2791
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.Last, 0, ScrollEventType.First };
2792
yield return new object[] { msg, RightToLeft.
Yes
, 1, ScrollEventType.Last, 0, ScrollEventType.First };
2793
yield return new object[] { msg, RightToLeft.
Yes
, 0, ScrollEventType.Last, 0, ScrollEventType.First };
2803
yield return new object[] { msg, RightToLeft.
Yes
, 100, ScrollEventType.First, 91, ScrollEventType.Last };
2804
yield return new object[] { msg, RightToLeft.
Yes
, 99, ScrollEventType.First, 91, ScrollEventType.Last };
2805
yield return new object[] { msg, RightToLeft.
Yes
, 91, ScrollEventType.First, 91, ScrollEventType.Last };
2806
yield return new object[] { msg, RightToLeft.
Yes
, 85, ScrollEventType.First, 91, ScrollEventType.Last };
2807
yield return new object[] { msg, RightToLeft.
Yes
, 15, ScrollEventType.First, 91, ScrollEventType.Last };
2808
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.First, 91, ScrollEventType.Last };
2809
yield return new object[] { msg, RightToLeft.
Yes
, 1, ScrollEventType.First, 91, ScrollEventType.Last };
2810
yield return new object[] { msg, RightToLeft.
Yes
, 0, ScrollEventType.First, 91, ScrollEventType.Last };
2813
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.EndScroll, 10, ScrollEventType.EndScroll };
2815
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.ThumbPosition, 10, ScrollEventType.ThumbPosition };
2817
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.ThumbTrack, 10, ScrollEventType.ThumbTrack };
2819
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.SmallDecrement - 1, 10, (ScrollEventType)ushort.MaxValue };
2821
yield return new object[] { msg, RightToLeft.
Yes
, 10, ScrollEventType.EndScroll + 1, 10, ScrollEventType.EndScroll + 1 };
2930
[InlineData(RightToLeft.
Yes
, 0)]
2931
[InlineData(RightToLeft.
Yes
, 50)]
2944
[InlineData(RightToLeft.
Yes
, 100, 100)]
2946
[InlineData(RightToLeft.
Yes
, 0, 0)]
2960
[InlineData(RightToLeft.
Yes
, 100, 0, AccessibleStates.None)]
2961
[InlineData(RightToLeft.
Yes
, 100, 50, AccessibleStates.None)]
2962
[InlineData(RightToLeft.
Yes
, 100, 100, AccessibleStates.Invisible)]
2964
[InlineData(RightToLeft.
Yes
, 0, 0, AccessibleStates.Invisible)]
2976
[InlineData(RightToLeft.
Yes
, 100)]
2977
[InlineData(RightToLeft.
Yes
, 50)]
2989
[InlineData(RightToLeft.
Yes
, 100, 0)]
2991
[InlineData(RightToLeft.
Yes
, 0, 0)]
3004
[InlineData(RightToLeft.
Yes
, 100, 0, AccessibleStates.Invisible)]
3005
[InlineData(RightToLeft.
Yes
, 100, 50, AccessibleStates.None)]
3006
[InlineData(RightToLeft.
Yes
, 100, 100, AccessibleStates.None)]
3008
[InlineData(RightToLeft.
Yes
, 0, 0, AccessibleStates.Invisible)]
3019
[InlineData(RightToLeft.
Yes
, 100, 0)]
3021
[InlineData(RightToLeft.
Yes
, 0, 0)]
3033
[InlineData(RightToLeft.
Yes
, 0)]
3034
[InlineData(RightToLeft.
Yes
, 50)]
3046
[InlineData(RightToLeft.
Yes
, 100, 100)]
3048
[InlineData(RightToLeft.
Yes
, 0, 0)]
3061
[InlineData(RightToLeft.
Yes
, 100, 0, AccessibleStates.None)]
3062
[InlineData(RightToLeft.
Yes
, 100, 50, AccessibleStates.None)]
3063
[InlineData(RightToLeft.
Yes
, 100, 100, AccessibleStates.Invisible)]
3065
[InlineData(RightToLeft.
Yes
, 0, 0, AccessibleStates.Invisible)]
3076
[InlineData(RightToLeft.
Yes
, 50)]
3078
[InlineData(RightToLeft.
Yes
, 100)]
3092
[InlineData(RightToLeft.
Yes
, 100, 0, AccessibleStates.Invisible)]
3093
[InlineData(RightToLeft.
Yes
, 100, 50, AccessibleStates.None)]
3094
[InlineData(RightToLeft.
Yes
, 100, 100, AccessibleStates.None)]
3096
[InlineData(RightToLeft.
Yes
, 0, 0, AccessibleStates.Invisible)]
System\Windows\Forms\StatusStripTests.cs (16)
203
yield return new object[] { ToolStripLayoutStyle.Flow, RightToLeft.
Yes
, new Padding(14, 0, 1, 0) };
207
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, RightToLeft.
Yes
, new Padding(14, 0, 1, 0) };
211
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, RightToLeft.
Yes
, new Padding(14, 0, 1, 0) };
215
yield return new object[] { ToolStripLayoutStyle.Table, RightToLeft.
Yes
, new Padding(14, 0, 1, 0) };
219
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, RightToLeft.
Yes
, new Padding(1, 3, 1, 22) };
621
yield return new object[] { true, layoutStyle, RightToLeft.
Yes
, new Rectangle(0, 0, 12, 22) };
624
yield return new object[] { false, layoutStyle, RightToLeft.
Yes
, Rectangle.Empty };
647
yield return new object[] { true, layoutStyle, RightToLeft.
Yes
, new Rectangle(0, 10, 12, 22) };
650
yield return new object[] { false, layoutStyle, RightToLeft.
Yes
, Rectangle.Empty };
674
yield return new object[] { true, layoutStyle, RightToLeft.
Yes
, new Rectangle(0, 0, 12, 12) };
677
yield return new object[] { false, layoutStyle, RightToLeft.
Yes
, Rectangle.Empty };
724
yield return new object[] { RightToLeft.
Yes
, true, 1, 0 };
728
yield return new object[] { RightToLeft.
Yes
, false, 0, 1 };
1007
yield return new object[] { RightToLeft.
Yes
, true, 1 };
1011
yield return new object[] { RightToLeft.
Yes
, false, 0 };
1173
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\TabControlTests.cs (12)
335
[InlineData(RightToLeft.
Yes
, true, 0x56010800, 0x500000)]
338
[InlineData(RightToLeft.
Yes
, false, 0x56010800, 0x7000)]
1826
[InlineData(RightToLeft.
Yes
, true, 1)]
1827
[InlineData(RightToLeft.
Yes
, false, 0)]
1866
[InlineData(RightToLeft.
Yes
, true, 1, 1, 2)]
1867
[InlineData(RightToLeft.
Yes
, false, 0, 0, 1)]
1964
RightToLeft = RightToLeft.
Yes
4495
yield return new object[] { RightToLeft.
Yes
, null };
4496
yield return new object[] { RightToLeft.
Yes
, new EventArgs() };
4534
yield return new object[] { RightToLeft.
Yes
, null, 1 };
4535
yield return new object[] { RightToLeft.
Yes
, new EventArgs(), 1 };
4589
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (2)
87
[InlineData(RightToLeft.
Yes
, true)]
101
[InlineData(RightToLeft.
Yes
)]
System\Windows\Forms\ToolStripButtonTests.cs (9)
1229
yield return new object[] { ContentAlignment.TopLeft, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1232
yield return new object[] { ContentAlignment.TopCenter, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1235
yield return new object[] { ContentAlignment.TopRight, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1239
yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1242
yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1245
yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1249
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1252
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1255
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.
Yes
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
System\Windows\Forms\ToolStripControlHostTests.cs (14)
34
RightToLeft = RightToLeft.
Yes
,
643
c.RightToLeft = RightToLeft.
Yes
;
644
Assert.Equal(RightToLeft.
Yes
, c.RightToLeft);
645
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
1608
item.RightToLeft = RightToLeft.
Yes
;
1609
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
1613
item.RightToLeft = RightToLeft.
Yes
;
1614
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
1624
item.RightToLeft = RightToLeft.
Yes
;
1625
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
1646
item.RightToLeft = RightToLeft.
Yes
;
1647
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
1689
item.RightToLeft = RightToLeft.
Yes
;
1690
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
System\Windows\Forms\ToolStripDropDownTests.cs (69)
1112
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1115
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1118
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1121
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1124
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1128
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1131
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1134
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1137
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1140
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1144
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1147
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1150
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1153
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1156
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1160
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1163
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1166
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1169
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1172
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1176
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1179
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1182
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1185
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1188
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1237
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1240
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1243
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1246
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1249
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1253
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1256
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1259
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1262
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1265
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1269
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1272
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1275
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1278
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1281
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1285
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1288
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1291
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1294
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1297
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1301
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1304
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1307
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1310
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1313
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
2329
RightToLeft = RightToLeft.
Yes
2333
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2344
RightToLeft = RightToLeft.
Yes
2350
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2361
RightToLeft = RightToLeft.
Yes
2372
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2376
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, 1)]
2417
control.RightToLeft = RightToLeft.
Yes
;
2418
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2422
control.RightToLeft = RightToLeft.
Yes
;
2423
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
2433
control.RightToLeft = RightToLeft.
Yes
;
2434
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
3092
RightToLeft = RightToLeft.
Yes
3373
RightToLeft = RightToLeft.
Yes
3432
RightToLeft = RightToLeft.
Yes
3449
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
3462
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (3)
38
RightToLeft = RightToLeft.
Yes
,
55
RightToLeft = RightToLeft.
Yes
79
RightToLeft = RightToLeft.
Yes
,
System\Windows\Forms\ToolStripItemTests.cs (69)
6538
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, RightToLeft.
Yes
, 0)]
6539
[InlineData(RightToLeft.
Yes
, RightToLeft.No, RightToLeft.No, 0)]
6540
[InlineData(RightToLeft.
Yes
, RightToLeft.Inherit, RightToLeft.
Yes
, 1)]
6541
[InlineData(RightToLeft.No, RightToLeft.
Yes
, RightToLeft.
Yes
, 0)]
6544
[InlineData(RightToLeft.Inherit, RightToLeft.
Yes
, RightToLeft.
Yes
, 0)]
7096
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
)]
7113
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
)]
7133
RightToLeft = RightToLeft.
Yes
7144
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
7164
yield return new object[] { RightToLeft.
Yes
, RightToLeft.
Yes
, RightToLeft.
Yes
, 0 };
7165
yield return new object[] { RightToLeft.
Yes
, RightToLeft.No, RightToLeft.No, 1 };
7166
yield return new object[] { RightToLeft.
Yes
, RightToLeft.Inherit, RightToLeft.
Yes
, 0 };
7167
yield return new object[] { RightToLeft.No, RightToLeft.
Yes
, RightToLeft.
Yes
, 1 };
7170
yield return new object[] { RightToLeft.Inherit, RightToLeft.
Yes
, RightToLeft.
Yes
, 1 };
7274
yield return new object[] { RightToLeft.
Yes
, RightToLeft.
Yes
, RightToLeft.
Yes
};
7275
yield return new object[] { RightToLeft.
Yes
, RightToLeft.No, RightToLeft.No };
7276
yield return new object[] { RightToLeft.
Yes
, RightToLeft.Inherit, RightToLeft.
Yes
};
7277
yield return new object[] { RightToLeft.No, RightToLeft.
Yes
, RightToLeft.
Yes
};
7280
yield return new object[] { RightToLeft.Inherit, RightToLeft.
Yes
, RightToLeft.
Yes
};
7382
item.RightToLeft = RightToLeft.
Yes
;
7383
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
7387
item.RightToLeft = RightToLeft.
Yes
;
7388
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
7398
item.RightToLeft = RightToLeft.
Yes
;
7399
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
7418
item.RightToLeft = RightToLeft.
Yes
;
7419
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
7446
item.RightToLeft = RightToLeft.
Yes
;
7447
Assert.Equal(RightToLeft.
Yes
, item.RightToLeft);
12193
yield return new object[] { RightToLeft.
Yes
, RightToLeft.
Yes
, null, RightToLeft.
Yes
, 0 };
12194
yield return new object[] { RightToLeft.
Yes
, RightToLeft.
Yes
, new EventArgs(), RightToLeft.
Yes
, 0 };
12196
yield return new object[] { RightToLeft.
Yes
, RightToLeft.No, null, RightToLeft.No, 0 };
12197
yield return new object[] { RightToLeft.
Yes
, RightToLeft.No, new EventArgs(), RightToLeft.No, 0 };
12199
yield return new object[] { RightToLeft.
Yes
, RightToLeft.Inherit, null, RightToLeft.
Yes
, 1 };
12200
yield return new object[] { RightToLeft.
Yes
, RightToLeft.Inherit, new EventArgs(), RightToLeft.
Yes
, 1 };
12202
yield return new object[] { RightToLeft.No, RightToLeft.
Yes
, null, RightToLeft.
Yes
, 0 };
12203
yield return new object[] { RightToLeft.No, RightToLeft.
Yes
, new EventArgs(), RightToLeft.
Yes
, 0 };
12211
yield return new object[] { RightToLeft.Inherit, RightToLeft.
Yes
, null, RightToLeft.
Yes
, 0 };
12212
yield return new object[] { RightToLeft.Inherit, RightToLeft.
Yes
, new EventArgs(), RightToLeft.
Yes
, 0 };
12658
yield return new object[] { RightToLeft.
Yes
, null, 0 };
12659
yield return new object[] { RightToLeft.
Yes
, new EventArgs(), 0 };
14244
item.RightToLeft = RightToLeft.
Yes
;
System\Windows\Forms\ToolStripItemTextRenderEventArgsTests.cs (2)
14
yield return new object[] { new ToolStripButton() { RightToLeft = RightToLeft.
Yes
}, "text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, TextFormatFlags.Bottom };
40
yield return new object[] { new ToolStripButton() { RightToLeft = RightToLeft.
Yes
}, "text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, (ContentAlignment)(-1), TextFormatFlags.Default | TextFormatFlags.Bottom | TextFormatFlags.Right | TextFormatFlags.RightToLeft | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
298
RightToLeft = RightToLeft.
Yes
,
System\Windows\Forms\ToolStripRendererTests.cs (1)
478
yield return new object[] { new StatusStrip { RightToLeft = RightToLeft.
Yes
} };
System\Windows\Forms\ToolStripTests.cs (122)
1663
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1666
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1669
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1672
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1675
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1679
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1682
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1685
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1688
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1691
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1695
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1698
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1701
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1704
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1707
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1711
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1714
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1717
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1720
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1723
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1727
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1730
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1733
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1736
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1739
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1788
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1791
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1794
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1797
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1800
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1804
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1807
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1810
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1813
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1816
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1820
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1823
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1826
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1829
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1832
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1836
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1839
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1842
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1845
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1848
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1852
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1855
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1858
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1861
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1864
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1924
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1927
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1930
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1933
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1936
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1940
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1943
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1946
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1949
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1952
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1956
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1959
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1962
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1965
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1968
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1972
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1975
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1978
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1981
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
1984
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
1988
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1991
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
1994
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
1997
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2000
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2028
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2031
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2034
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2037
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2040
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
2044
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2047
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2050
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2053
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2056
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
2060
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2063
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
2066
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2069
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2072
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
2076
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2079
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2082
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2085
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.BelowLeft };
2088
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.AboveLeft };
2092
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2095
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Left };
2098
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2101
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2104
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Yes
, ToolStripDropDownDirection.Right };
2266
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Visible, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
2269
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Hidden, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
2273
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Yes
, new Rectangle(0, 0, width, 25) };
2276
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
2280
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Yes
, new Rectangle(0, 0, width, 25) };
2283
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
2287
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Visible, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
2290
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Hidden, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
2294
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Yes
, new Rectangle(0, x, 99, height) };
2297
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Yes
, new Rectangle(0, 0, 99, 25) };
3444
[InlineData(RightToLeft.
Yes
, RightToLeft.
Yes
, 1)]
3501
RightToLeft = RightToLeft.
Yes
3513
Assert.Equal(RightToLeft.
Yes
, item1.RightToLeft);
3520
Assert.Equal(RightToLeft.
Yes
, item1.RightToLeft);
3539
control.RightToLeft = RightToLeft.
Yes
;
3540
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
3544
control.RightToLeft = RightToLeft.
Yes
;
3545
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
3555
control.RightToLeft = RightToLeft.
Yes
;
3556
Assert.Equal(RightToLeft.
Yes
, control.RightToLeft);
6452
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (2)
330
[InlineData(true, RightToLeft.
Yes
, true)]
333
[InlineData(false, RightToLeft.
Yes
, false)]
System\Windows\Forms\TreeViewTests.cs (12)
670
[InlineData(RightToLeft.
Yes
, true, 0x56010007, 0x400200)]
673
[InlineData(RightToLeft.
Yes
, false, 0x56010047, 0x7200)]
3068
[InlineData(RightToLeft.
Yes
, true, 1)]
3069
[InlineData(RightToLeft.
Yes
, false, 0)]
3108
[InlineData(RightToLeft.
Yes
, true, 1, 1, 2)]
3109
[InlineData(RightToLeft.
Yes
, false, 0, 0, 1)]
3206
RightToLeft = RightToLeft.
Yes
6502
yield return new object[] { RightToLeft.
Yes
, null };
6503
yield return new object[] { RightToLeft.
Yes
, new EventArgs() };
6541
yield return new object[] { RightToLeft.
Yes
, null, 1 };
6542
yield return new object[] { RightToLeft.
Yes
, new EventArgs(), 1 };
6596
RightToLeft = RightToLeft.
Yes
System\Windows\Forms\VScrollBarTests.cs (3)
169
control.RightToLeft = RightToLeft.
Yes
;
174
control.RightToLeft = RightToLeft.
Yes
;
185
control.RightToLeft = RightToLeft.
Yes
;
TextBoxTests.cs (1)
435
RightToLeft = RightToLeft.
Yes
TrackBarTests.cs (34)
190
[InlineData(RightToLeft.
Yes
, true, 0x500000)]
193
[InlineData(RightToLeft.
Yes
, false, 0x7000)]
797
[InlineData(RightToLeft.
Yes
, true, 5)]
800
[InlineData(RightToLeft.
Yes
, false, 5)]
1548
[InlineData(RightToLeft.
Yes
, true, 1)]
1549
[InlineData(RightToLeft.
Yes
, false, 0)]
1588
[InlineData(RightToLeft.
Yes
, true, 1, 1, 2)]
1589
[InlineData(RightToLeft.
Yes
, false, 0, 0, 1)]
1686
RightToLeft = RightToLeft.
Yes
2042
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, true, 0, 0 };
2043
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, false, 0, 10 };
2048
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, true, 0, 10 };
2049
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, false, 0, 10 };
2055
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, true, 1, 1 };
2056
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, false, 1, 9 };
2061
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, true, 1, 9 };
2062
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, false, 1, 9 };
2068
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, true, 5, 5 };
2069
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, false, 5, 5 };
2074
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, true, 5, 5 };
2075
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, false, 5, 5 };
2081
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, true, 9, 9 };
2082
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, false, 9, 1 };
2087
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, true, 9, 1 };
2088
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, false, 9, 1 };
2094
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, true, 10, 10 };
2095
yield return new object[] { Orientation.Horizontal, RightToLeft.
Yes
, false, 10, 0 };
2100
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, true, 10, 0 };
2101
yield return new object[] { Orientation.Vertical, RightToLeft.
Yes
, false, 10, 0 };
2605
yield return new object[] { RightToLeft.
Yes
, null };
2606
yield return new object[] { RightToLeft.
Yes
, new EventArgs() };
2644
yield return new object[] { RightToLeft.
Yes
, null, 1 };
2645
yield return new object[] { RightToLeft.
Yes
, new EventArgs(), 1 };
2699
RightToLeft = RightToLeft.
Yes
System.Windows.Forms.TestUtilities (30)
CommonTestHelperEx.cs (2)
69
{ RightToLeft.
Yes
, RightToLeft.
Yes
},
ScrollBarTestHelper.cs (16)
13
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
17
int value = rightToLeft == RightToLeft.
Yes
? Minumim : Maximum;
26
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
30
int value = rightToLeft == RightToLeft.
Yes
? Maximum : Minumim;
38
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
42
int value = rightToLeft == RightToLeft.
Yes
? Maximum : Minumim;
51
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
55
int value = rightToLeft == RightToLeft.
Yes
? Minumim : Maximum;
63
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
71
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
81
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
93
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
104
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
113
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
121
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
130
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
TrackBarTestHelper.cs (12)
20
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
34
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
38
bool isMirrored = rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout;
57
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
61
bool isMirrored = rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout;
79
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
83
bool isMirrored = rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout;
103
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
107
bool isMirrored = rightToLeft == RightToLeft.
Yes
&& rightToLeftLayout;
125
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
139
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
159
foreach (RightToLeft rightToLeft in new RightToLeft[] { RightToLeft.
Yes
, RightToLeft.No })
System.Windows.Forms.UI.IntegrationTests (1)
ApplicationTests.cs (1)
29
child.RightToLeft = RightToLeft.
Yes
;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
179
SW.FlowDirection toFlowDirection = ((fromRTL == SWF.RightToLeft.
Yes
) ? SW.FlowDirection.RightToLeft : SW.FlowDirection.LeftToRight);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
115
adapter.RightToLeft = SWF.RightToLeft.
Yes
;
WinFormsControlsTest (6)
MdiChild.cs (1)
98
MyParent.MainMenuStrip.RightToLeft = chkRightToLeft.Checked ? RightToLeft.
Yes
: RightToLeft.No;
ScrollBars.cs (1)
43
hScrollBar.RightToLeft = chbRightToLeft.Checked ? RightToLeft.
Yes
: RightToLeft.No;
TextBoxes.Designer.cs (3)
56
this.RTLTextBox.RightToLeft = System.Windows.Forms.RightToLeft.
Yes
;
90
this.RTLMultilineTextBox.RightToLeft = System.Windows.Forms.RightToLeft.
Yes
;
133
this.RTLRichTextBox.RightToLeft = System.Windows.Forms.RightToLeft.
Yes
;
TrackBars.cs (1)
56
trackBar1.RightToLeft = chbRightToLeft.Checked ? RightToLeft.
Yes
: RightToLeft.No;