7 overrides of RightToLeft
System.Windows.Forms (6)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
784public override RightToLeft RightToLeft
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
695public override RightToLeft RightToLeft
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1346public override RightToLeft RightToLeft
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
255public override RightToLeft RightToLeft
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
555public override RightToLeft RightToLeft
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
42public override RightToLeft RightToLeft
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
1077public override RightToLeft RightToLeft
284 writes to RightToLeft
Accessibility_Core_App (4)
CommonControl1.Designer.cs (1)
658this.dateTimePicker2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
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 (2)
MS\Internal\Documents\DialogBaseForm.cs (2)
153RightToLeft = RightToLeft.Yes; 158RightToLeft = RightToLeft.No;
System.Windows.Forms (13)
System\Windows\Forms\ActiveX\AxHost.cs (1)
363set => base.RightToLeft = (value) ? Forms.RightToLeft.Yes : Forms.RightToLeft.No;
System\Windows\Forms\Control.cs (1)
9131RightToLeft = RightToLeft.Inherit;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
460_horizScrollBar.RightToLeft = RightToLeft.Inherit;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
787set => base.RightToLeft = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
119RightToLeft = RightToLeft.Yes;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
337_control.RightToLeft = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
715set => base.RightToLeft = value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
1245Panel1.RightToLeft = RightToLeft; 1246Panel2.RightToLeft = RightToLeft;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
32RightToLeft = RightToLeft.Yes;
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
71RightToLeft = RightToLeft.No, 260base.RightToLeft = value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
558set => base.RightToLeft = value;
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
366_dropDownHolder.RightToLeft = ActionPanel.RightToLeft;
System\Windows\Forms\Design\FormatStringDialog.cs (2)
30RightToLeft = RightToLeft.No; 35RightToLeft = RightToLeft.Yes;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
138_designMenu.RightToLeft = value;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
1226_miniToolStrip.RightToLeft = strip.RightToLeft; 1231_miniToolStrip.RightToLeft = stripItem.RightToLeft; 1473_miniToolStrip.RightToLeft = strip.RightToLeft; 1483_miniToolStrip.RightToLeft = stripItem.RightToLeft;
System.Windows.Forms.Tests (249)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
37RightToLeft = rightToLeft, 69RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
126control.RightToLeft = value;
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
275RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
337RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
375RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
347RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
362RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
267RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
485RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
382RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
383RightToLeft = rightToLeft,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
245RightToLeft = rightToLeft,
System\Windows\Forms\ButtonBaseTests.cs (1)
228RightToLeft = rightToLeft,
System\Windows\Forms\ButtonTests.cs (1)
250RightToLeft = rightToLeft,
System\Windows\Forms\ColumnHeaderTests.cs (2)
1030RightToLeft = rightToLeft, 1045listView.RightToLeft = RightToLeft.No;
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (2)
123using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft }; 141using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
System\Windows\Forms\ComboBoxTests.cs (7)
1265RightToLeft = value 1271control.RightToLeft = value; 1290control.RightToLeft = RightToLeft.Yes; 1295control.RightToLeft = RightToLeft.Yes; 1300control.RightToLeft = RightToLeft.Inherit; 1306control.RightToLeft = RightToLeft.Yes; 1316Assert.Throws<InvalidEnumArgumentException>("value", () => control.RightToLeft = value);
System\Windows\Forms\ControlTests.ControlCollection.cs (8)
656owner.RightToLeft = RightToLeft.Yes; 806owner.RightToLeft = RightToLeft.Yes; 959owner.RightToLeft = RightToLeft.Yes; 1032owner.RightToLeft = RightToLeft.Yes; 2359owner.RightToLeft = RightToLeft.Yes; 2503owner.RightToLeft = RightToLeft.Yes; 2635owner.RightToLeft = RightToLeft.Yes; 2699owner.RightToLeft = RightToLeft.Yes;
System\Windows\Forms\ControlTests.cs (8)
649RightToLeft = rightToLeft 783using SubControl control = new() { RightToLeft = rightToLeft }; 802using SubControl control = new() { RightToLeft = rightToLeft }; 821using SubControl control = new() { RightToLeft = rightToLeft }; 842using SubControl control = new() { RightToLeft = rightToLeft }; 863using SubControl control = new() { RightToLeft = rightToLeft }; 925using Form form = new() { RightToLeft = rightToLeft, }; 982using Form form = new() { RightToLeft = rightToLeft };
System\Windows\Forms\ControlTests.Handlers.cs (3)
5032RightToLeft = RightToLeft.Inherit 5081RightToLeft = RightToLeft.Yes 5085RightToLeft = RightToLeft.No
System\Windows\Forms\ControlTests.Methods.cs (7)
6549control.RightToLeft = RightToLeft.Yes; 6872RightToLeft = rightToLeft 6888RightToLeft = rightToLeft 6904RightToLeft = rightToLeft 6939RightToLeft = rightToLeft 6967RightToLeft = rightToLeft 6996RightToLeft = rightToLeft
System\Windows\Forms\ControlTests.Properties.cs (41)
10059RightToLeft = value 10065control.RightToLeft = value; 10076RightToLeft = RightToLeft.Yes 10079control.RightToLeft = value; 10084control.RightToLeft = value; 10099control.RightToLeft = value; 10106control.RightToLeft = value; 10119RightToLeft = RightToLeft.Yes 10123RightToLeft = RightToLeft.No 10129control.RightToLeft = value; 10136control.RightToLeft = value; 10158control.RightToLeft = value; 10166control.RightToLeft = value; 10182RightToLeft = RightToLeft.Yes 10192control.RightToLeft = value; 10200control.RightToLeft = value; 10222control.RightToLeft = RightToLeft.Yes; 10227control.RightToLeft = RightToLeft.Yes; 10232control.RightToLeft = RightToLeft.Inherit; 10238control.RightToLeft = RightToLeft.Yes; 10257control.RightToLeft = RightToLeft.Yes; 10274RightToLeft = RightToLeft.Inherit 10312control.RightToLeft = RightToLeft.Yes; 10321control.RightToLeft = RightToLeft.Yes; 10330control.RightToLeft = RightToLeft.Inherit; 10342control.RightToLeft = RightToLeft.Yes; 10356RightToLeft = RightToLeft.Yes 10360RightToLeft = RightToLeft.No 10392control.RightToLeft = RightToLeft.Yes; 10401control.RightToLeft = RightToLeft.Yes; 10410control.RightToLeft = RightToLeft.Inherit; 10422control.RightToLeft = RightToLeft.Yes; 10436Assert.Throws<InvalidEnumArgumentException>("value", () => control.RightToLeft = value); 10446control.RightToLeft = RightToLeft.Yes; 10450control.RightToLeft = RightToLeft.No; 10454control.RightToLeft = RightToLeft.Inherit; 10458control.RightToLeft = RightToLeft.No; 10474control.RightToLeft = RightToLeft.Yes; 10478control.RightToLeft = RightToLeft.No; 10482control.RightToLeft = RightToLeft.Inherit; 10486control.RightToLeft = RightToLeft.No;
System\Windows\Forms\DataGridViewCellTests.cs (1)
3273RightToLeft = RightToLeft.Yes
System\Windows\Forms\DataGridViewRowTests.cs (7)
3722RightToLeft = rightToLeft 4662RightToLeft = RightToLeft.Yes 4759RightToLeft = RightToLeft.Yes 5108RightToLeft = RightToLeft.Yes 5205RightToLeft = RightToLeft.Yes 5428RightToLeft = RightToLeft.Yes 5525RightToLeft = RightToLeft.Yes
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1056RightToLeft = rightToLeft,
System\Windows\Forms\GroupBoxTests.cs (2)
1858RightToLeft = rightToLeft, 1896RightToLeft = rightToLeft,
System\Windows\Forms\HScrollBarTests.cs (7)
146RightToLeft = value 152control.RightToLeft = value; 171control.RightToLeft = RightToLeft.Yes; 176control.RightToLeft = RightToLeft.Yes; 181control.RightToLeft = RightToLeft.Inherit; 187control.RightToLeft = RightToLeft.Yes; 197Assert.Throws<InvalidEnumArgumentException>("value", () => control.RightToLeft = value);
System\Windows\Forms\ListBoxTests.cs (7)
2179RightToLeft = value 2185control.RightToLeft = value; 2204control.RightToLeft = RightToLeft.Yes; 2209control.RightToLeft = RightToLeft.Yes; 2214control.RightToLeft = RightToLeft.Inherit; 2220control.RightToLeft = RightToLeft.Yes; 2230Assert.Throws<InvalidEnumArgumentException>("value", () => control.RightToLeft = value);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
817RightToLeft = rightToLeft,
System\Windows\Forms\MdiClientTests.cs (6)
331RightToLeft = rightToLeft 356RightToLeft = rightToleft 376RightToLeft = parentRightToLeft 381RightToLeft = rightToLeft 421RightToLeft = parentRightToLeft 426RightToLeft = rightToLeft
System\Windows\Forms\MdiControlStripTests.cs (3)
200using MenuStrip menuStrip = new() { RightToLeft = rightToLeft }; 246using MenuStrip menuStrip = new() { RightToLeft = rightToLeft }; 291using MenuStrip menuStrip = new() { RightToLeft = rightToLeft };
System\Windows\Forms\MonthCalendarTests.cs (6)
1727RightToLeft = rightToLeft 1767RightToLeft = rightToLeft 1855RightToLeft = RightToLeft.Yes 3797RightToLeft = rightToLeft 3836RightToLeft = rightToLeft 3877RightToLeft = RightToLeft.Yes
System\Windows\Forms\ProgressBarTests.cs (7)
175RightToLeft = rightToLeft, 1192RightToLeft = rightToLeft 1232RightToLeft = rightToLeft 1320RightToLeft = RightToLeft.Yes 2384RightToLeft = rightToLeft 2423RightToLeft = rightToLeft 2464RightToLeft = RightToLeft.Yes
System\Windows\Forms\ScrollableControlTests.cs (8)
857RightToLeft = value 862control.RightToLeft = value; 1028RightToLeft = rightToLeft, 1053RightToLeft = rightToLeft, 1120RightToLeft = rightToLeft, 1186RightToLeft = rightToLeft, 1221RightToLeft = rightToLeft, 1298RightToLeft = rightToLeft,
System\Windows\Forms\ScrollBarTests.cs (12)
601RightToLeft = rightToLeft, 1186RightToLeft = value 1192control.RightToLeft = value; 1211control.RightToLeft = RightToLeft.Yes; 1216control.RightToLeft = RightToLeft.Yes; 1221control.RightToLeft = RightToLeft.Inherit; 1227control.RightToLeft = RightToLeft.Yes; 1237Assert.Throws<InvalidEnumArgumentException>("value", () => control.RightToLeft = value); 2475RightToLeft = rightToLeft, 2646RightToLeft = RightToLeft.Yes 2831RightToLeft = rightToLeft, 3128hScrollBar.RightToLeft = rightToLeft;
System\Windows\Forms\StatusStripTests.cs (11)
231RightToLeft = rightToLeft 638RightToLeft = rightToLeft 664RightToLeft = rightToLeft, 691RightToLeft = rightToLeft, 739RightToLeft = rightToLeft, 774RightToLeft = rightToLeft, 905RightToLeft = rightToLeft, 958RightToLeft = rightToLeft, 1022RightToLeft = rightToLeft, 1173RightToLeft = RightToLeft.Yes 1216RightToLeft = rightToLeft,
System\Windows\Forms\TabControlTests.cs (7)
343RightToLeft = rightToLeft, 1836RightToLeft = rightToLeft 1876RightToLeft = rightToLeft 1964RightToLeft = RightToLeft.Yes 4509RightToLeft = rightToLeft 4548RightToLeft = rightToLeft 4589RightToLeft = RightToLeft.Yes
System\Windows\Forms\TableLayoutPanelTests.cs (2)
1435RightToLeft = rightToLeft, 1475RightToLeft = rightToLeft,
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (2)
93textBoxBase.RightToLeft = rightToLeft; 106textBoxBase.RightToLeft = rightToLeft;
System\Windows\Forms\ToolStripControlHostTests.cs (2)
34RightToLeft = RightToLeft.Yes, 643c.RightToLeft = RightToLeft.Yes;
System\Windows\Forms\ToolStripDropDownTests.cs (5)
2329RightToLeft = RightToLeft.Yes 2361RightToLeft = RightToLeft.Yes 3092RightToLeft = RightToLeft.Yes 3373RightToLeft = RightToLeft.Yes 3432RightToLeft = RightToLeft.Yes
System\Windows\Forms\ToolStripItemTests.cs (10)
6551RightToLeft = ownerRightToLeft 7102RightToLeft = ownerRightToLeft 7119RightToLeft = parentRightToLeft 7133RightToLeft = RightToLeft.Yes 7137RightToLeft = RightToLeft.No 7181RightToLeft = ownerRightToLeft 7223RightToLeft = ownerRightToLeft 7291RightToLeft = parentRightToLeft 7326RightToLeft = parentRightToLeft 12208RightToLeft = ownerRightToLeft
System\Windows\Forms\ToolStripRendererTests.cs (1)
478yield return new object[] { new StatusStrip { RightToLeft = RightToLeft.Yes } };
System\Windows\Forms\ToolStripTests.cs (22)
1752RightToLeft = rightToLeft 1779RightToLeft = rightToLeft 1883RightToLeft = rightToLeft 1915RightToLeft = rightToLeft 2019RightToLeft = rightToLeft 2138RightToLeft = rightToLeft 2310RightToLeft = rightToLeft 3459control.RightToLeft = value; 3465control.RightToLeft = value; 3481control.RightToLeft = value; 3488control.RightToLeft = value; 3511control.RightToLeft = value; 3518control.RightToLeft = value; 3539control.RightToLeft = RightToLeft.Yes; 3544control.RightToLeft = RightToLeft.Yes; 3549control.RightToLeft = RightToLeft.Inherit; 3555control.RightToLeft = RightToLeft.Yes; 3565Assert.Throws<InvalidEnumArgumentException>("value", () => control.RightToLeft = value); 4810using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4831using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4856using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4877using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop };
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
340using TreeView treeView = new() { RightToLeft = rightToLeft };
System\Windows\Forms\TreeViewTests.cs (7)
678RightToLeft = rightToLeft, 3078RightToLeft = rightToLeft 3118RightToLeft = rightToLeft 3206RightToLeft = RightToLeft.Yes 6516RightToLeft = rightToLeft 6555RightToLeft = rightToLeft 6596RightToLeft = RightToLeft.Yes
System\Windows\Forms\UpDownBaseTests.cs (7)
1446RightToLeft = rightToLeft, 1477RightToLeft = rightToLeft 1785RightToLeft = rightToLeft, 1835RightToLeft = rightToLeft, 1868RightToLeft = rightToLeft, 1977RightToLeft = rightToLeft, 2522RightToLeft = rightToLeft,
TextBoxTests.cs (1)
435RightToLeft = RightToLeft.Yes
TrackBarTests.cs (10)
198RightToLeft = rightToLeft, 806RightToLeft = rightToLeft, 1558RightToLeft = rightToLeft 1598RightToLeft = rightToLeft 1686RightToLeft = RightToLeft.Yes 1988RightToLeft = rightToLeft, 2115RightToLeft = rightToLeft, 2619RightToLeft = rightToLeft 2658RightToLeft = rightToLeft 2699RightToLeft = RightToLeft.Yes
System.Windows.Forms.UI.IntegrationTests (2)
ApplicationTests.cs (2)
22using Form child = new() { RightToLeft = RightToLeft.No }; 29child.RightToLeft = RightToLeft.Yes;
WinFormsControlsTest (6)
MdiChild.cs (1)
98MyParent.MainMenuStrip.RightToLeft = chkRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
ScrollBars.cs (1)
43hScrollBar.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
TextBoxes.Designer.cs (3)
56this.RTLTextBox.RightToLeft = System.Windows.Forms.RightToLeft.Yes; 90this.RTLMultilineTextBox.RightToLeft = System.Windows.Forms.RightToLeft.Yes; 133this.RTLRichTextBox.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
TrackBars.cs (1)
56trackBar1.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
350 references to RightToLeft
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
622if (RightToLeft == RightToLeft.Yes)
System.Windows.Forms (145)
System\Windows\Forms\ActiveX\AxHost.cs (4)
360RightToLeft rtol = base.RightToLeft; 2125if (control.RightToLeft == Forms.RightToLeft.No) 2130if (control.RightToLeft == Forms.RightToLeft.Yes) 2135if (control.RightToLeft == Forms.RightToLeft.Inherit)
System\Windows\Forms\Control.cs (12)
1365if (RightToLeft == RightToLeft.Yes) 2859rightToLeft = ParentInternal?.RightToLeft ?? DefaultRightToLeft; 2869RightToLeft oldValue = RightToLeft; 2876if (oldValue != RightToLeft) 4159RightToLeft oldRtl = RightToLeft; 4202if (oldRtl != RightToLeft) 7403si.nPos = (RightToLeft == RightToLeft.Yes) ? si.nMax : si.nMin; 8120RightToLeft); 10531if (RightToLeft == RightToLeft.Yes) 10549if (RightToLeft == RightToLeft.Yes) 10567if (RightToLeft == RightToLeft.Yes) 12725TopLevelControlInternal is { } topLevelControl && topLevelControl.RightToLeft == RightToLeft.Yes && !IsMirrored;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
610LayoutRTL = Control.RightToLeft == RightToLeft.Yes,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
102Control.RightToLeft);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
346layout.LayoutRTL = Control.RightToLeft == RightToLeft.Yes;
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (4)
51_origRightToLeft = comboBox.RightToLeft; 64return (combo.ClientRectangle == _clientRect && combo.RightToLeft == _origRightToLeft); 79bool rightToLeft = comboBox.RightToLeft == RightToLeft.Yes; 121bool rightToLeft = comboBox.RightToLeft == 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)
30060if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
916DataGridView.RightToLeft); 946DataGridView.RightToLeft);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
335bool IKeyboardToolTip.HasRtlModeEnabled() => DataGridView is not null && DataGridView.RightToLeft == RightToLeft.Yes;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (3)
338if (_owner.DataGridView.RightToLeft == RightToLeft.Yes) 451return _owner.DataGridView.RightToLeft == RightToLeft.No 459return _owner.DataGridView.RightToLeft == RightToLeft.No
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (3)
1402DataGridView.RightToLeft); 1451DataGridView.RightToLeft); 1498DataGridView.RightToLeft);
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\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
36if (Owner.DataGridView.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (4)
132if ((RightToLeft == RightToLeft.No && !(SelectionLength == 0 && SelectionStart == Text.Length)) || 133(RightToLeft == RightToLeft.Yes && !(SelectionLength == 0 && SelectionStart == 0))) 144if ((RightToLeft == RightToLeft.No && !(SelectionLength == 0 && SelectionStart == 0)) || 145(RightToLeft == RightToLeft.Yes && !(SelectionLength == 0 && SelectionStart == Text.Length)))
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\DateTimePicker\DateTimePicker.cs (3)
411if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 1166if (RightToLeft == RightToLeft.Yes) 1503if (RightToLeftLayout && RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (4)
419if (RightToLeft == RightToLeft.Yes) 481if (RightToLeft == RightToLeft.Yes) 508if (RightToLeft == RightToLeft.Yes) 535if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (4)
546if (RightToLeft == RightToLeft.Yes) 575if (RightToLeft == RightToLeft.Yes) 667if (RightToLeft == RightToLeft.Yes) 695if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1854if (RightToLeft == RightToLeft.Yes || HorizontalScrollbar)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
336if ((Index != 0) && (ListView.RightToLeft == RightToLeft.Yes) && !ListView.IsMirrored)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
724if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 4820if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
66bool IKeyboardToolTip.HasRtlModeEnabled() => _listView?.RightToLeft == RightToLeft.Yes;
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
215SelectNextToolStripItem(null, forward: RightToLeft == RightToLeft.No);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
308if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 1474if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
786get => base.RightToLeft;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
63if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 629if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\TabControl\TabControl.cs (3)
336if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 1425if (RightToLeft == RightToLeft.Yes) 1924if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
871if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (5)
76if (RightToLeft == RightToLeft.No) 214if (RightToLeft == RightToLeft.Yes) 269if (SizingGrip && RightToLeft == RightToLeft.Yes) 580if (RightToLeft == RightToLeft.Yes) 594if (RightToLeft != RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (7)
587direction = ((Dock == DockStyle.Right) && (RightToLeft == RightToLeft.No)) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right; 604direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.AboveRight; 609direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight; 739rect.X += (RightToLeft == RightToLeft.No) ? gripwidth : 0; 2026if (rtlAware && RightToLeft == RightToLeft.Yes) 3020if (RightToLeft == RightToLeft.Yes) 4180if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
362RightToLeft rightToLeft = RightToLeft;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
328return _control is not null ? _control.RightToLeft : base.RightToLeft;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
704return SourceControlInternal.RightToLeft; 713return base.RightToLeft; 1821if (OwnerItem is null && control.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
132(RightToLeft != parent.RightToLeft && (RightToLeft != RightToLeft.Inherit)))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
1648rightToLeft = Owner.RightToLeft; 1653rightToLeft = ParentInternal.RightToLeft;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
244toolStrip.SelectNextToolStripItem(start: null, toolStrip.RightToLeft != RightToLeft.Yes);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
420&& toolStripToDrag.RightToLeft == RightToLeft.Yes) 668if (Orientation == Orientation.Horizontal && RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (4)
486bool rightToLeft = (e.ToolStrip.RightToLeft == RightToLeft.Yes); 700RightToLeft rightToLeft = e.ToolStrip.RightToLeft; 704FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds, _iconWellGradientWidth, _iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes)); 1126if (control.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
983if (statusStrip.RightToLeft == RightToLeft.Yes) 990if (statusStrip.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (2)
102insertIndex = Math.Max(0, (_owner.RightToLeft == RightToLeft.Yes) ? insertIndex + 1 : insertIndex); 110insertIndex = Math.Max(0, (_owner.RightToLeft == RightToLeft.No) ? insertIndex + 1 : insertIndex);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (3)
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\ToolStrips\ToolStripSystemRenderer.cs (1)
325RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, e.ToolStrip.RightToLeft == RightToLeft.Yes);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
180if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 830if (_orientation == Orientation.Horizontal && RightToLeft == RightToLeft.Yes && !IsMirrored) 889if (RightToLeft == RightToLeft.Yes) 1117if (_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\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\TreeView\TreeNode.IKeyboardToolTip.cs (1)
41bool IKeyboardToolTip.HasRtlModeEnabled() => TreeView?.RightToLeft == RightToLeft.Yes;
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
392if (RightToLeft == RightToLeft.Yes) 2320if (RightToLeft == RightToLeft.Yes) 2980if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Form.cs (3)
841if (RightToLeft == RightToLeft.Yes && RightToLeftLayout) 4595if (RightToLeft == RightToLeft.Yes) 4606if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (8)
1245Panel1.RightToLeft = RightToLeft; 1246Panel2.RightToLeft = RightToLeft; 1354if (RightToLeft == RightToLeft.No) 1386if (RightToLeft == RightToLeft.No) 1505if (RightToLeft == RightToLeft.No) 1571_splitterRect.X = ((RightToLeft == RightToLeft.Yes) ? Width - _splitterDistance - SplitterWidthInternal : Location.X + _splitterDistance); 1643if (RightToLeft == RightToLeft.No) 2171bool 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)
1184isContainerRTL = containerAsControl.RightToLeft == RightToLeft.Yes;
System\Windows\Forms\MDI\MDIClient.cs (1)
109if (RightToLeft == RightToLeft.Yes && ParentInternal is not null && ParentInternal.IsMirrored)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
359bool isRTL = RightToLeft == RightToLeft.Yes;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
257get => base.RightToLeft;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
557get => base.RightToLeft;
System\Windows\Forms\Rendering\ControlPaint.cs (2)
2551if (control.RightToLeft == RightToLeft.Yes) 2606if (control.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
992if (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)
613if (RightToLeft == RightToLeft.Yes) 636if (RightToLeft == RightToLeft.Yes) 708if (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)
977if (TopLevelControl?.RightToLeft == RightToLeft.Yes && !control.IsMirrored) 992if (TopLevelControl?.RightToLeft == RightToLeft.Yes)
System.Windows.Forms.Design (22)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (1)
203if (RightToLeft == RightToLeft.Yes)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
475if (RightToLeft == RightToLeft.Yes)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
342if (ActionPanel.RightToLeft != RightToLeft.Yes) 366_dropDownHolder.RightToLeft = ActionPanel.RightToLeft;
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
251if (isColumn && _table.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
140private bool IsRtl => Control.RightToLeft == RightToLeft.Yes;
System\Windows\Forms\Design\LabelDesigner.cs (1)
75bool rtl = (label.RightToLeft == RightToLeft.Yes);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
859bool isRTL = (Table.RightToLeft == RightToLeft.Yes); 974bool isRTL = Table.RightToLeft == RightToLeft.Yes; 1085bool isRTL = (Table.RightToLeft == RightToLeft.Yes);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1806if (ToolStrip.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (6)
301if (parent.RightToLeft == RightToLeft.Yes && (direction == ArrowDirection.Left || direction == ArrowDirection.Right)) 1790if ((ctl.RightToLeft != RightToLeft.Yes && !backwards) || (ctl.RightToLeft == RightToLeft.Yes && backwards)) 1881else if (item == parent.Items[0] && parent.RightToLeft != RightToLeft.Yes) 1931else if (item == parent.Items[0] && parent.RightToLeft == RightToLeft.Yes) 1962if (parent.RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (5)
1226_miniToolStrip.RightToLeft = strip.RightToLeft; 1340_contextMenu.RightToLeft = strip.RightToLeft; 1473_miniToolStrip.RightToLeft = strip.RightToLeft; 1896if (_owner.EditorToolStrip.RightToLeft == RightToLeft.Yes) 1917if (_owner.EditorToolStrip.RightToLeft == RightToLeft.Yes)
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ByteViewerTests.cs (1)
108Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\Design\FormatStringDialogTests.cs (2)
38_formatStringDialog.RightToLeft.Should().Be(RightToLeft.No); 43_formatStringDialog.RightToLeft.Should().Be(RightToLeft.Yes);
System.Windows.Forms.Tests (177)
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 (1)
103Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ButtonTests.cs (1)
101Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\CheckBoxTests.cs (1)
103Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ComboBoxTests.cs (7)
113Assert.Equal(RightToLeft.No, control.RightToLeft); 1267Assert.Equal(expected, control.RightToLeft); 1272Assert.Equal(expected, control.RightToLeft); 1291Assert.Equal(RightToLeft.Yes, control.RightToLeft); 1296Assert.Equal(RightToLeft.Yes, control.RightToLeft); 1301Assert.Equal(RightToLeft.No, control.RightToLeft); 1307Assert.Equal(RightToLeft.Yes, control.RightToLeft);
System\Windows\Forms\ContainerControlTests.cs (1)
106Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ControlTests.ControlCollection.cs (20)
577Assert.Equal(RightToLeft.No, control.RightToLeft); 621Assert.Equal(RightToLeft.No, control.RightToLeft); 657Assert.Equal(RightToLeft.No, control.RightToLeft); 766Assert.Equal(RightToLeft.Yes, control.RightToLeft); 807Assert.Equal(RightToLeft.No, control.RightToLeft); 925Assert.Equal(RightToLeft.Yes, control.RightToLeft); 960Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 1002Assert.Equal(RightToLeft.Yes, ((Control)control).RightToLeft); 1033Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 1082Assert.Equal(RightToLeft.Yes, ((Control)control).RightToLeft); 2274Assert.Equal(RightToLeft.No, control.RightToLeft); 2321Assert.Equal(RightToLeft.No, control.RightToLeft); 2360Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2465Assert.Equal(RightToLeft.No, control.RightToLeft); 2504Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2598Assert.Equal(RightToLeft.No, control.RightToLeft); 2636Assert.Equal(RightToLeft.Yes, ((Control)control).RightToLeft); 2671Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft); 2700Assert.Equal(RightToLeft.Yes, ((Control)control).RightToLeft); 2749Assert.Equal(RightToLeft.No, ((Control)control).RightToLeft);
System\Windows\Forms\ControlTests.cs (5)
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);
System\Windows\Forms\ControlTests.Methods.cs (3)
6546Assert.Equal(RightToLeft.No, control.RightToLeft); 6551Assert.Equal(RightToLeft.No, control.RightToLeft); 6555Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ControlTests.Properties.cs (61)
10061Assert.Equal(expected, control.RightToLeft); 10066Assert.Equal(expected, control.RightToLeft); 10080Assert.Equal(expected, control.RightToLeft); 10085Assert.Equal(expected, control.RightToLeft); 10100Assert.Equal(expected, control.RightToLeft); 10101Assert.Equal(expected, child1.RightToLeft); 10102Assert.Equal(expected, child2.RightToLeft); 10107Assert.Equal(expected, control.RightToLeft); 10108Assert.Equal(expected, child1.RightToLeft); 10109Assert.Equal(expected, child2.RightToLeft); 10130Assert.Equal(expected, control.RightToLeft); 10131Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10132Assert.Equal(RightToLeft.No, child2.RightToLeft); 10137Assert.Equal(expected, control.RightToLeft); 10138Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10139Assert.Equal(RightToLeft.No, child2.RightToLeft); 10159Assert.Equal(expected, control.RightToLeft); 10167Assert.Equal(expected, control.RightToLeft); 10193Assert.Equal(expected, control.RightToLeft); 10201Assert.Equal(expected, control.RightToLeft); 10223Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10228Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10233Assert.Equal(RightToLeft.No, control.RightToLeft); 10239Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10258Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10313Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10314Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10315Assert.Equal(RightToLeft.Yes, child2.RightToLeft); 10322Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10323Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10324Assert.Equal(RightToLeft.Yes, child2.RightToLeft); 10331Assert.Equal(RightToLeft.No, control.RightToLeft); 10332Assert.Equal(RightToLeft.No, child1.RightToLeft); 10333Assert.Equal(RightToLeft.No, child2.RightToLeft); 10343Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10344Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10345Assert.Equal(RightToLeft.Yes, child2.RightToLeft); 10393Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10394Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10395Assert.Equal(RightToLeft.No, child2.RightToLeft); 10402Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10403Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10404Assert.Equal(RightToLeft.No, child2.RightToLeft); 10411Assert.Equal(RightToLeft.No, control.RightToLeft); 10412Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10413Assert.Equal(RightToLeft.No, child2.RightToLeft); 10423Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10424Assert.Equal(RightToLeft.Yes, child1.RightToLeft); 10425Assert.Equal(RightToLeft.No, child2.RightToLeft); 10442PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.RightToLeft)]; 10447Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10451Assert.Equal(RightToLeft.No, control.RightToLeft); 10455Assert.Equal(RightToLeft.No, control.RightToLeft); 10459Assert.Equal(RightToLeft.No, control.RightToLeft); 10463Assert.Equal(RightToLeft.No, control.RightToLeft); 10470PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.RightToLeft)]; 10475Assert.Equal(RightToLeft.Yes, control.RightToLeft); 10479Assert.Equal(RightToLeft.No, control.RightToLeft); 10483Assert.Equal(RightToLeft.No, control.RightToLeft); 10487Assert.Equal(RightToLeft.No, control.RightToLeft); 10491Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
107Assert.Equal(RightToLeft.No, control.RightToLeft);
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 (7)
99Assert.Equal(RightToLeft.No, control.RightToLeft); 148Assert.Equal(expected, control.RightToLeft); 153Assert.Equal(expected, control.RightToLeft); 172Assert.Equal(RightToLeft.Yes, control.RightToLeft); 177Assert.Equal(RightToLeft.Yes, control.RightToLeft); 182Assert.Equal(RightToLeft.No, control.RightToLeft); 188Assert.Equal(RightToLeft.Yes, control.RightToLeft);
System\Windows\Forms\LabelTests.cs (1)
97Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ListBoxTests.cs (7)
106Assert.Equal(RightToLeft.No, control.RightToLeft); 2181Assert.Equal(expected, control.RightToLeft); 2186Assert.Equal(expected, control.RightToLeft); 2205Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2210Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2215Assert.Equal(RightToLeft.No, control.RightToLeft); 2221Assert.Equal(RightToLeft.Yes, control.RightToLeft);
System\Windows\Forms\ListControlTests.cs (1)
94Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ListViewTests.cs (1)
122Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\MdiClientTests.cs (1)
73Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\MenuStripTests.cs (1)
129Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\MonthCalendarTests.cs (1)
111Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\PanelTests.cs (1)
100Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ProgressBarTests.cs (1)
85Assert.Equal(RightToLeft.No, control.RightToLeft);
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 (3)
99Assert.Equal(RightToLeft.No, control.RightToLeft); 859Assert.Equal(expected, control.RightToLeft); 863Assert.Equal(expected, control.RightToLeft);
System\Windows\Forms\ScrollBarTests.cs (7)
88Assert.Equal(RightToLeft.No, control.RightToLeft); 1188Assert.Equal(expected, control.RightToLeft); 1193Assert.Equal(expected, control.RightToLeft); 1212Assert.Equal(RightToLeft.Yes, control.RightToLeft); 1217Assert.Equal(RightToLeft.Yes, control.RightToLeft); 1222Assert.Equal(RightToLeft.No, control.RightToLeft); 1228Assert.Equal(RightToLeft.Yes, control.RightToLeft);
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 (1)
130Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\TabControlTests.cs (1)
92Assert.Equal(RightToLeft.No, control.RightToLeft);
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\ToolStripContentPanelTests.cs (1)
105Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ToolStripControlHostTests.cs (6)
107Assert.Equal(c.RightToLeft, item.RightToLeft); 644Assert.Equal(RightToLeft.Yes, c.RightToLeft); 1563Assert.Equal(RightToLeft.No, c.RightToLeft); 1569Assert.Equal(RightToLeft.No, c.RightToLeft); 1583Assert.Equal(expected, c.RightToLeft); 1589Assert.Equal(expected, c.RightToLeft);
System\Windows\Forms\ToolStripPanelTests.cs (1)
102Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\ToolStripTests.cs (12)
145Assert.Equal(RightToLeft.No, control.RightToLeft); 300Assert.Equal(RightToLeft.No, control.RightToLeft); 3460Assert.Equal(expected, control.RightToLeft); 3466Assert.Equal(expected, control.RightToLeft); 3482Assert.Equal(expected, control.RightToLeft); 3489Assert.Equal(expected, control.RightToLeft); 3512Assert.Equal(expected, control.RightToLeft); 3519Assert.Equal(expected, control.RightToLeft); 3540Assert.Equal(RightToLeft.Yes, control.RightToLeft); 3545Assert.Equal(RightToLeft.Yes, control.RightToLeft); 3550Assert.Equal(RightToLeft.No, control.RightToLeft); 3556Assert.Equal(RightToLeft.Yes, control.RightToLeft);
System\Windows\Forms\TreeViewTests.cs (1)
102Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\UpDownBaseTests.cs (1)
115Assert.Equal(RightToLeft.No, control.RightToLeft);
System\Windows\Forms\UserControlTests.cs (1)
106Assert.Equal(RightToLeft.No, control.RightToLeft);
TextBoxTests.cs (1)
100Assert.Equal(RightToLeft.No, control.RightToLeft);
TrackBarTests.cs (1)
91Assert.Equal(RightToLeft.No, control.RightToLeft);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
952OnPropertyChanged("RightToLeft", this.RightToLeft);
System\Windows\Integration\WindowsFormsHost.cs (1)
1090bool fireRightToLeftChanged = _rightToLeft != RightToLeft.Inherit || base.RightToLeft != value;