410 references to Inherit
System.Windows.Forms (20)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2135
if (control.RightToLeft == Forms.RightToLeft.
Inherit
)
System\Windows\Forms\Control.cs (6)
2848
[AmbientValue(RightToLeft.
Inherit
)]
2855
|| rightToLeft == RightToLeft.
Inherit
)
2869
if (Properties.ContainsKey(s_rightToLeftProperty) || value != RightToLeft.
Inherit
)
7045
if (!Properties.TryGetValue(s_rightToLeftProperty, out RightToLeft rightToLeft) || rightToLeft == RightToLeft.
Inherit
)
9129
RightToLeft = RightToLeft.
Inherit
;
10498
&& rightToLeft != RightToLeft.
Inherit
;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
460
_horizScrollBar.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
693
[AmbientValue(RightToLeft.
Inherit
)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
132
(RightToLeft != parent.RightToLeft && (RightToLeft != RightToLeft.
Inherit
)))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (8)
727
private static RightToLeft DefaultRightToLeft => RightToLeft.
Inherit
;
1641
rightToLeft = RightToLeft.
Inherit
;
1644
if (rightToLeft == RightToLeft.
Inherit
)
1670
if (Properties.ContainsKey(s_rightToLeftProperty) || value != RightToLeft.
Inherit
)
2941
if (!Properties.TryGetValue(s_rightToLeftProperty, out RightToLeft rightToLeft) || rightToLeft == RightToLeft.
Inherit
)
2959
rightToLeft = RightToLeft.
Inherit
;
2962
if (rightToLeft == RightToLeft.
Inherit
&& RightToLeft != DefaultRightToLeft)
3415
public virtual void ResetRightToLeft() => RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\Controls\Unsupported\MainMenu\MainMenu.cs (1)
36
[AmbientValue(RightToLeft.
Inherit
)]
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
253
[AmbientValue(RightToLeft.
Inherit
)]
System.Windows.Forms.Tests (386)
System\Windows\Forms\ButtonBaseTests.cs (10)
188
yield return new object[] { flatStyle, RightToLeft.
Inherit
, textAlign, 0x56010000, 0 };
212
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomLeft, 0x56012900, 0 };
213
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomCenter, 0x56012B00, 0 };
214
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomRight, 0x56012A00, 0 };
215
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleLeft, 0x56012D00, 0 };
216
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleCenter, 0x56012F00, 0 };
217
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleRight, 0x56012E00, 0 };
218
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopLeft, 0x56012500, 0 };
219
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopCenter, 0x56012700, 0 };
220
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ButtonTests.cs (10)
210
yield return new object[] { flatStyle, RightToLeft.
Inherit
, textAlign, 0x5601000B, 0 };
234
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomLeft, 0x56012900, 0 };
235
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomCenter, 0x56012B00, 0 };
236
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomRight, 0x56012A00, 0 };
237
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleLeft, 0x56012D00, 0 };
238
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleCenter, 0x56012F00, 0 };
239
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleRight, 0x56012E00, 0 };
240
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopLeft, 0x56012500, 0 };
241
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopCenter, 0x56012700, 0 };
242
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ColumnHeaderTests.cs (2)
1024
[InlineData(RightToLeft.
Inherit
, true, HorizontalAlignment.Left)]
1027
[InlineData(RightToLeft.
Inherit
, false, HorizontalAlignment.Left)]
System\Windows\Forms\ComboBoxTests.cs (1)
1302
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ControlTests.cs (1)
644
[InlineData(RightToLeft.
Inherit
, 0)]
System\Windows\Forms\ControlTests.Handlers.cs (1)
5034
RightToLeft = RightToLeft.
Inherit
System\Windows\Forms\ControlTests.Methods.cs (3)
6879
yield return new object[] { RightToLeft.
Inherit
, align, align };
6914
yield return new object[] { RightToLeft.
Inherit
, align, align };
6942
yield return new object[] { RightToLeft.
Inherit
, align, align };
System\Windows\Forms\ControlTests.Properties.cs (8)
10148
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 0)]
10179
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 1)]
10234
control.RightToLeft = RightToLeft.
Inherit
;
10276
RightToLeft = RightToLeft.
Inherit
10332
control.RightToLeft = RightToLeft.
Inherit
;
10412
control.RightToLeft = RightToLeft.
Inherit
;
10456
control.RightToLeft = RightToLeft.
Inherit
;
10484
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\HScrollBarTests.cs (1)
183
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ListBoxTests.cs (1)
2216
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (2)
663
[InlineData(true, true, RightToLeft.
Inherit
, false)]
666
[InlineData(true, false, RightToLeft.
Inherit
, false)]
System\Windows\Forms\MdiClientTests.cs (19)
340
[InlineData(RightToLeft.
Inherit
, true)]
365
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
)]
366
[InlineData(RightToLeft.
Inherit
, RightToLeft.No)]
367
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes)]
368
[InlineData(RightToLeft.No, RightToLeft.
Inherit
)]
371
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
)]
390
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
, true)]
391
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
, false)]
392
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, true)]
393
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, false)]
394
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes, true)]
395
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes, false)]
396
[InlineData(RightToLeft.No, RightToLeft.
Inherit
, true)]
397
[InlineData(RightToLeft.No, RightToLeft.
Inherit
, false)]
402
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
, true)]
403
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
, false)]
System\Windows\Forms\MonthCalendarTests.cs (8)
1723
[InlineData(RightToLeft.
Inherit
, true, 1)]
1724
[InlineData(RightToLeft.
Inherit
, false, 0)]
1763
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1764
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
3789
yield return new object[] { RightToLeft.
Inherit
, null };
3790
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
3828
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
3829
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\PictureBoxTests.cs (1)
1260
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ProgressBarTests.cs (10)
167
[InlineData(RightToLeft.
Inherit
, true, 0x56010000, 0x0)]
170
[InlineData(RightToLeft.
Inherit
, false, 0x56010000, 0x0)]
1188
[InlineData(RightToLeft.
Inherit
, true, 1)]
1189
[InlineData(RightToLeft.
Inherit
, false, 0)]
1228
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1229
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
2376
yield return new object[] { RightToLeft.
Inherit
, null };
2377
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
2415
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
2416
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\ScrollBarTests.cs (2)
596
[InlineData(RightToLeft.
Inherit
)]
1223
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\StatusStripTests.cs (15)
207
yield return new object[] { ToolStripLayoutStyle.Flow, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
211
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
215
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
219
yield return new object[] { ToolStripLayoutStyle.Table, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
223
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, RightToLeft.
Inherit
, new Padding(1, 3, 1, 22) };
625
yield return new object[] { true, layoutStyle, RightToLeft.
Inherit
, new Rectangle(188, 0, 12, 22) };
628
yield return new object[] { false, layoutStyle, RightToLeft.
Inherit
, Rectangle.Empty };
651
yield return new object[] { true, layoutStyle, RightToLeft.
Inherit
, new Rectangle(198, 10, 12, 22) };
654
yield return new object[] { false, layoutStyle, RightToLeft.
Inherit
, Rectangle.Empty };
678
yield return new object[] { true, layoutStyle, RightToLeft.
Inherit
, new Rectangle(178, 0, 12, 12) };
681
yield return new object[] { false, layoutStyle, RightToLeft.
Inherit
, Rectangle.Empty };
728
yield return new object[] { RightToLeft.
Inherit
, true, 0, 0 };
732
yield return new object[] { RightToLeft.
Inherit
, false, 0, 0 };
1011
yield return new object[] { RightToLeft.
Inherit
, true, 0 };
1015
yield return new object[] { RightToLeft.
Inherit
, false, 0 };
System\Windows\Forms\TabControlTests.cs (10)
335
[InlineData(RightToLeft.
Inherit
, true, 0x56010800, 0x0)]
338
[InlineData(RightToLeft.
Inherit
, false, 0x56010800, 0x0)]
1832
[InlineData(RightToLeft.
Inherit
, true, 1)]
1833
[InlineData(RightToLeft.
Inherit
, false, 0)]
1872
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1873
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
4501
yield return new object[] { RightToLeft.
Inherit
, null };
4502
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
4540
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
4541
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\ToolStripButtonTests.cs (15)
80
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
161
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
248
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
338
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
426
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
524
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1232
yield return new object[] { ContentAlignment.TopLeft, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1235
yield return new object[] { ContentAlignment.TopCenter, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1238
yield return new object[] { ContentAlignment.TopRight, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1242
yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1245
yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1248
yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1252
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1255
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1258
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripControlHostTests.cs (5)
1552
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1564
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1570
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1656
item.RightToLeft = RightToLeft.
Inherit
;
1699
item.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
80
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
169
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
268
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
376
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripDropDownTests.cs (52)
1116
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1119
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1122
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1125
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1128
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1132
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1135
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1138
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1141
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1144
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1148
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1151
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1154
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1157
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1160
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1164
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1167
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1170
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1173
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1176
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1180
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1183
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1186
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1189
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1192
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1241
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1244
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1247
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1250
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1253
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1257
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1260
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1263
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1266
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1269
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1273
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1276
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1279
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1282
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1285
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1289
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1292
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1295
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1298
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1301
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1305
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1308
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1311
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1314
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1317
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2380
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 0)]
2429
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ToolStripItemTests.cs (46)
79
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
164
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
259
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
6542
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
, RightToLeft.Yes, 1)]
6545
[InlineData(RightToLeft.No, RightToLeft.
Inherit
, RightToLeft.No, 1)]
6546
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes, RightToLeft.Yes, 0)]
6547
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, RightToLeft.No, 0)]
6548
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
, RightToLeft.No, 1)]
7097
[InlineData(RightToLeft.
Inherit
, RightToLeft.No)]
7114
[InlineData(RightToLeft.
Inherit
, RightToLeft.No)]
7168
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, RightToLeft.Yes, 0 };
7171
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, RightToLeft.No, 0 };
7172
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, RightToLeft.Yes, 1 };
7173
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, RightToLeft.No, 0 };
7174
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, RightToLeft.No, 0 };
7278
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, RightToLeft.Yes };
7281
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, RightToLeft.No };
7282
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, RightToLeft.Yes };
7283
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, RightToLeft.No };
7284
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, RightToLeft.No };
7428
item.RightToLeft = RightToLeft.
Inherit
;
7429
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
7437
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
7456
item.RightToLeft = RightToLeft.
Inherit
;
7457
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
7465
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
12182
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, null, RightToLeft.Yes, 1 };
12183
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, new EventArgs(), RightToLeft.Yes, 1 };
12191
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, null, RightToLeft.No, 1 };
12192
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, new EventArgs(), RightToLeft.No, 1 };
12194
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, null, RightToLeft.Yes, 0 };
12195
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, new EventArgs(), RightToLeft.Yes, 0 };
12197
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, null, RightToLeft.No, 0 };
12198
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, new EventArgs(), RightToLeft.No, 0 };
12200
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, null, RightToLeft.No, 1 };
12201
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, new EventArgs(), RightToLeft.No, 1 };
12639
yield return new object[] { RightToLeft.
Inherit
, null, 1 };
12640
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 1 };
14224
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
14229
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
14233
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
83
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
77
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripTests.cs (113)
1667
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1670
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1673
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1676
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1679
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1683
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1686
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1689
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1692
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1695
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1699
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1702
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1705
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1708
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1711
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1715
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1718
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1721
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1724
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1727
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1731
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1734
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1737
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1740
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1743
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1792
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1795
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1798
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1801
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1804
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1808
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1811
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1814
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1817
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1820
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1824
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1827
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1830
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1833
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1836
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1840
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1843
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1846
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1849
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1852
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1856
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1859
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1862
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1865
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1868
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1928
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1931
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1934
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1937
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1940
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1944
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1947
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1950
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1953
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1956
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1960
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1963
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1966
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1969
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1972
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1976
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1979
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1982
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1985
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1988
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1992
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1995
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1998
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2001
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2004
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2032
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2035
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2038
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2041
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2044
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2048
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2051
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2054
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2057
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2060
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2064
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2067
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
2070
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2073
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2076
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2080
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2083
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2086
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2089
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2092
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2096
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2099
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
2102
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2105
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2108
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2270
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2273
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2277
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(x, 0, width, 25) };
2280
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2284
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(x, 0, width, 25) };
2287
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2291
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2294
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2298
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(0, x, 99, height) };
2301
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
3448
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 0)]
3551
control.RightToLeft = RightToLeft.
Inherit
;
6405
RightToLeft = RightToLeft.
Inherit
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
334
[InlineData(true, RightToLeft.
Inherit
, false)]
System\Windows\Forms\TreeViewTests.cs (10)
670
[InlineData(RightToLeft.
Inherit
, true, 0x56010007, 0x200)]
673
[InlineData(RightToLeft.
Inherit
, false, 0x56010007, 0x200)]
3074
[InlineData(RightToLeft.
Inherit
, true, 1)]
3075
[InlineData(RightToLeft.
Inherit
, false, 0)]
3114
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
3115
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
6508
yield return new object[] { RightToLeft.
Inherit
, null };
6509
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
6547
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
6548
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\VScrollBarTests.cs (1)
181
control.RightToLeft = RightToLeft.
Inherit
;
TrackBarTests.cs (32)
190
[InlineData(RightToLeft.
Inherit
, true, 0x0)]
193
[InlineData(RightToLeft.
Inherit
, false, 0x0)]
797
[InlineData(RightToLeft.
Inherit
, true, 5)]
800
[InlineData(RightToLeft.
Inherit
, false, 5)]
1554
[InlineData(RightToLeft.
Inherit
, true, 1)]
1555
[InlineData(RightToLeft.
Inherit
, false, 0)]
1594
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1595
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
2048
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 0, 0 };
2049
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 0, 0 };
2054
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 0, 10 };
2055
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 0, 10 };
2061
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 1, 1 };
2062
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 1, 1 };
2067
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 1, 9 };
2068
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 1, 9 };
2074
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 5, 5 };
2075
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 5, 5 };
2080
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 5, 5 };
2081
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 5, 5 };
2087
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 9, 9 };
2088
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 9, 9 };
2093
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 9, 1 };
2094
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 9, 1 };
2100
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 10, 10 };
2101
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 10, 10 };
2106
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 10, 0 };
2107
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 10, 0 };
2611
yield return new object[] { RightToLeft.
Inherit
, null };
2612
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
2650
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
2651
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
68
{ RightToLeft.
Inherit
, RightToLeft.No },
WindowsFormsIntegration (3)
System\Windows\Integration\WindowsFormsHost.cs (3)
1050
private RightToLeft _rightToLeft = RightToLeft.
Inherit
;
1060
return _rightToLeft == RightToLeft.
Inherit
?
1068
bool fireRightToLeftChanged = _rightToLeft != RightToLeft.
Inherit
|| base.RightToLeft != value;