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