Base:
property
RightToLeft
System.Windows.Forms.Control.RightToLeft
16 writes to RightToLeft
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
139
_dropDown.
RightToLeft
= value;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1340
_contextMenu.
RightToLeft
= strip.RightToLeft;
1346
_contextMenu.
RightToLeft
= stripItem.RightToLeft;
System.Windows.Forms.Tests (13)
System\Windows\Forms\ToolStripDropDownTests.cs (13)
1201
RightToLeft
= rightToLeft
1228
RightToLeft
= rightToLeft
1333
RightToLeft
= rightToLeft
1366
RightToLeft
= rightToLeft
2335
control.
RightToLeft
= RightToLeft.No;
2352
control.
RightToLeft
= RightToLeft.No;
2391
control.
RightToLeft
= value;
2397
control.
RightToLeft
= value;
2417
control.
RightToLeft
= RightToLeft.Yes;
2422
control.
RightToLeft
= RightToLeft.Yes;
2427
control.
RightToLeft
= RightToLeft.Inherit;
2433
control.
RightToLeft
= RightToLeft.Yes;
2443
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
RightToLeft
= value);
27 references to RightToLeft
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
276
? (
RightToLeft
== RightToLeft.Yes) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right
611
RightToLeft startRightToLeft =
RightToLeft
;
619
if (_ownerItem is not null && RightToLeftInherited && startRightToLeft !=
RightToLeft
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
74
RightToLeft rightToLeft =
RightToLeft
;
434
if (
RightToLeft
== RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1473
if (dropDownMenu.
RightToLeft
== RightToLeft.No)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
128
get => _dropDown.
RightToLeft
;
System.Windows.Forms.Tests (20)
System\Windows\Forms\ToolStripDropDownTests.cs (20)
137
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
2333
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
2336
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
2350
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
2353
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
2372
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
2392
Assert.Equal(expected, control.
RightToLeft
);
2398
Assert.Equal(expected, control.
RightToLeft
);
2418
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
2423
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
2428
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
2434
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
3105
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
3122
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
3135
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
3386
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
3403
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
3416
Assert.Equal(RightToLeft.No, control.
RightToLeft
);
3449
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);
3462
Assert.Equal(RightToLeft.Yes, control.
RightToLeft
);