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)
1201RightToLeft = rightToLeft 1228RightToLeft = rightToLeft 1333RightToLeft = rightToLeft 1366RightToLeft = rightToLeft 2335control.RightToLeft = RightToLeft.No; 2352control.RightToLeft = RightToLeft.No; 2391control.RightToLeft = value; 2397control.RightToLeft = value; 2417control.RightToLeft = RightToLeft.Yes; 2422control.RightToLeft = RightToLeft.Yes; 2427control.RightToLeft = RightToLeft.Inherit; 2433control.RightToLeft = RightToLeft.Yes; 2443Assert.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 611RightToLeft startRightToLeft = RightToLeft; 619if (_ownerItem is not null && RightToLeftInherited && startRightToLeft != RightToLeft)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
74RightToLeft rightToLeft = RightToLeft; 434if (RightToLeft == RightToLeft.Yes)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1473if (dropDownMenu.RightToLeft == RightToLeft.No)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
128get => _dropDown.RightToLeft;
System.Windows.Forms.Tests (20)
System\Windows\Forms\ToolStripDropDownTests.cs (20)
137Assert.Equal(RightToLeft.No, control.RightToLeft); 2333Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2336Assert.Equal(RightToLeft.No, control.RightToLeft); 2350Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2353Assert.Equal(RightToLeft.No, control.RightToLeft); 2372Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2392Assert.Equal(expected, control.RightToLeft); 2398Assert.Equal(expected, control.RightToLeft); 2418Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2423Assert.Equal(RightToLeft.Yes, control.RightToLeft); 2428Assert.Equal(RightToLeft.No, control.RightToLeft); 2434Assert.Equal(RightToLeft.Yes, control.RightToLeft); 3105Assert.Equal(RightToLeft.No, control.RightToLeft); 3122Assert.Equal(RightToLeft.No, control.RightToLeft); 3135Assert.Equal(RightToLeft.No, control.RightToLeft); 3386Assert.Equal(RightToLeft.No, control.RightToLeft); 3403Assert.Equal(RightToLeft.No, control.RightToLeft); 3416Assert.Equal(RightToLeft.No, control.RightToLeft); 3449Assert.Equal(RightToLeft.Yes, control.RightToLeft); 3462Assert.Equal(RightToLeft.Yes, control.RightToLeft);