409 references to Inherit
System.Windows.Forms (19)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2157
if (control.RightToLeft == Forms.RightToLeft.
Inherit
)
System\Windows\Forms\Control.cs (6)
2849
[AmbientValue(RightToLeft.
Inherit
)]
2856
|| rightToLeft == RightToLeft.
Inherit
)
2870
if (Properties.ContainsKey(s_rightToLeftProperty) || value != RightToLeft.
Inherit
)
7011
if (!Properties.TryGetValue(s_rightToLeftProperty, out RightToLeft rightToLeft) || rightToLeft == RightToLeft.
Inherit
)
9095
RightToLeft = RightToLeft.
Inherit
;
10472
&& 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
;
1649
rightToLeft = RightToLeft.
Inherit
;
1652
if (rightToLeft == RightToLeft.
Inherit
)
1678
if (Properties.ContainsKey(s_rightToLeftProperty) || value != RightToLeft.
Inherit
)
2947
if (!Properties.TryGetValue(s_rightToLeftProperty, out RightToLeft rightToLeft) || rightToLeft == RightToLeft.
Inherit
)
2965
rightToLeft = RightToLeft.
Inherit
;
2968
if (rightToLeft == RightToLeft.
Inherit
&& RightToLeft != DefaultRightToLeft)
3419
public virtual void ResetRightToLeft() => RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
253
[AmbientValue(RightToLeft.
Inherit
)]
System.Windows.Forms.Tests (386)
System\Windows\Forms\ButtonBaseTests.cs (10)
186
yield return new object[] { flatStyle, RightToLeft.
Inherit
, textAlign, 0x56010000, 0 };
210
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomLeft, 0x56012900, 0 };
211
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomCenter, 0x56012B00, 0 };
212
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomRight, 0x56012A00, 0 };
213
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleLeft, 0x56012D00, 0 };
214
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleCenter, 0x56012F00, 0 };
215
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleRight, 0x56012E00, 0 };
216
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopLeft, 0x56012500, 0 };
217
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopCenter, 0x56012700, 0 };
218
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ButtonTests.cs (10)
208
yield return new object[] { flatStyle, RightToLeft.
Inherit
, textAlign, 0x5601000B, 0 };
232
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomLeft, 0x56012900, 0 };
233
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomCenter, 0x56012B00, 0 };
234
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.BottomRight, 0x56012A00, 0 };
235
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleLeft, 0x56012D00, 0 };
236
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleCenter, 0x56012F00, 0 };
237
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.MiddleRight, 0x56012E00, 0 };
238
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopLeft, 0x56012500, 0 };
239
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopCenter, 0x56012700, 0 };
240
yield return new object[] { FlatStyle.System, RightToLeft.
Inherit
, ContentAlignment.TopRight, 0x56012600, 0 };
System\Windows\Forms\ColumnHeaderTests.cs (2)
1022
[InlineData(RightToLeft.
Inherit
, true, HorizontalAlignment.Left)]
1025
[InlineData(RightToLeft.
Inherit
, false, HorizontalAlignment.Left)]
System\Windows\Forms\ComboBoxTests.cs (1)
1301
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ControlTests.cs (1)
642
[InlineData(RightToLeft.
Inherit
, 0)]
System\Windows\Forms\ControlTests.Handlers.cs (1)
5032
RightToLeft = RightToLeft.
Inherit
System\Windows\Forms\ControlTests.Methods.cs (3)
6910
yield return new object[] { RightToLeft.
Inherit
, align, align };
6945
yield return new object[] { RightToLeft.
Inherit
, align, align };
6973
yield return new object[] { RightToLeft.
Inherit
, align, align };
System\Windows\Forms\ControlTests.Properties.cs (8)
10146
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 0)]
10177
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 1)]
10232
control.RightToLeft = RightToLeft.
Inherit
;
10274
RightToLeft = RightToLeft.
Inherit
10330
control.RightToLeft = RightToLeft.
Inherit
;
10410
control.RightToLeft = RightToLeft.
Inherit
;
10454
control.RightToLeft = RightToLeft.
Inherit
;
10482
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\HScrollBarTests.cs (1)
181
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ListBoxTests.cs (1)
2214
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (2)
661
[InlineData(true, true, RightToLeft.
Inherit
, false)]
664
[InlineData(true, false, RightToLeft.
Inherit
, false)]
System\Windows\Forms\MdiClientTests.cs (19)
338
[InlineData(RightToLeft.
Inherit
, true)]
363
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
)]
364
[InlineData(RightToLeft.
Inherit
, RightToLeft.No)]
365
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes)]
366
[InlineData(RightToLeft.No, RightToLeft.
Inherit
)]
369
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
)]
388
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
, true)]
389
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
, false)]
390
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, true)]
391
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, false)]
392
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes, true)]
393
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes, false)]
394
[InlineData(RightToLeft.No, RightToLeft.
Inherit
, true)]
395
[InlineData(RightToLeft.No, RightToLeft.
Inherit
, false)]
400
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
, true)]
401
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
, false)]
System\Windows\Forms\MonthCalendarTests.cs (8)
1721
[InlineData(RightToLeft.
Inherit
, true, 1)]
1722
[InlineData(RightToLeft.
Inherit
, false, 0)]
1761
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1762
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
3787
yield return new object[] { RightToLeft.
Inherit
, null };
3788
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
3826
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
3827
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\PictureBoxTests.cs (1)
1258
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ProgressBarTests.cs (10)
165
[InlineData(RightToLeft.
Inherit
, true, 0x56010000, 0x0)]
168
[InlineData(RightToLeft.
Inherit
, false, 0x56010000, 0x0)]
1186
[InlineData(RightToLeft.
Inherit
, true, 1)]
1187
[InlineData(RightToLeft.
Inherit
, false, 0)]
1226
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1227
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
2374
yield return new object[] { RightToLeft.
Inherit
, null };
2375
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
2413
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
2414
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\ScrollBarTests.cs (2)
594
[InlineData(RightToLeft.
Inherit
)]
1221
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\StatusStripTests.cs (15)
205
yield return new object[] { ToolStripLayoutStyle.Flow, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
209
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
213
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
217
yield return new object[] { ToolStripLayoutStyle.Table, RightToLeft.
Inherit
, new Padding(1, 0, 14, 0) };
221
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, RightToLeft.
Inherit
, new Padding(1, 3, 1, 22) };
623
yield return new object[] { true, layoutStyle, RightToLeft.
Inherit
, new Rectangle(188, 0, 12, 22) };
626
yield return new object[] { false, layoutStyle, RightToLeft.
Inherit
, Rectangle.Empty };
649
yield return new object[] { true, layoutStyle, RightToLeft.
Inherit
, new Rectangle(198, 10, 12, 22) };
652
yield return new object[] { false, layoutStyle, RightToLeft.
Inherit
, Rectangle.Empty };
676
yield return new object[] { true, layoutStyle, RightToLeft.
Inherit
, new Rectangle(178, 0, 12, 12) };
679
yield return new object[] { false, layoutStyle, RightToLeft.
Inherit
, Rectangle.Empty };
726
yield return new object[] { RightToLeft.
Inherit
, true, 0, 0 };
730
yield return new object[] { RightToLeft.
Inherit
, false, 0, 0 };
1009
yield return new object[] { RightToLeft.
Inherit
, true, 0 };
1013
yield return new object[] { RightToLeft.
Inherit
, false, 0 };
System\Windows\Forms\TabControlTests.cs (10)
333
[InlineData(RightToLeft.
Inherit
, true, 0x56010800, 0x0)]
336
[InlineData(RightToLeft.
Inherit
, false, 0x56010800, 0x0)]
1830
[InlineData(RightToLeft.
Inherit
, true, 1)]
1831
[InlineData(RightToLeft.
Inherit
, false, 0)]
1870
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1871
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
4499
yield return new object[] { RightToLeft.
Inherit
, null };
4500
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
4538
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
4539
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\ToolStripButtonTests.cs (15)
78
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
159
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
246
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
336
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
424
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
522
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1230
yield return new object[] { ContentAlignment.TopLeft, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1233
yield return new object[] { ContentAlignment.TopCenter, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1236
yield return new object[] { ContentAlignment.TopRight, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1240
yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1243
yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1246
yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1250
yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1253
yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1256
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.
Inherit
, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripControlHostTests.cs (5)
1550
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1562
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1568
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
1654
item.RightToLeft = RightToLeft.
Inherit
;
1697
item.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
78
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
167
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
266
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
374
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripDropDownTests.cs (52)
1114
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1117
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1120
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1123
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1126
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1130
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1133
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1136
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1139
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1142
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1146
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1149
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1152
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1155
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1158
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1162
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1165
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1168
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1171
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1174
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1178
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1181
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1184
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1187
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1190
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1239
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1242
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1245
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1248
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1251
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1255
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1258
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1261
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1264
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1267
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1271
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1274
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1277
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1280
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1283
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1287
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1290
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1293
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1296
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1299
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1303
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1306
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1309
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1312
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1315
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2378
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 0)]
2427
control.RightToLeft = RightToLeft.
Inherit
;
System\Windows\Forms\ToolStripItemTests.cs (46)
77
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
162
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
257
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
6540
[InlineData(RightToLeft.Yes, RightToLeft.
Inherit
, RightToLeft.Yes, 1)]
6543
[InlineData(RightToLeft.No, RightToLeft.
Inherit
, RightToLeft.No, 1)]
6544
[InlineData(RightToLeft.
Inherit
, RightToLeft.Yes, RightToLeft.Yes, 0)]
6545
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, RightToLeft.No, 0)]
6546
[InlineData(RightToLeft.
Inherit
, RightToLeft.
Inherit
, RightToLeft.No, 1)]
7095
[InlineData(RightToLeft.
Inherit
, RightToLeft.No)]
7112
[InlineData(RightToLeft.
Inherit
, RightToLeft.No)]
7166
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, RightToLeft.Yes, 0 };
7169
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, RightToLeft.No, 0 };
7170
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, RightToLeft.Yes, 1 };
7171
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, RightToLeft.No, 0 };
7172
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, RightToLeft.No, 0 };
7276
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, RightToLeft.Yes };
7279
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, RightToLeft.No };
7280
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, RightToLeft.Yes };
7281
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, RightToLeft.No };
7282
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, RightToLeft.No };
7426
item.RightToLeft = RightToLeft.
Inherit
;
7427
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
7435
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
7454
item.RightToLeft = RightToLeft.
Inherit
;
7455
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
7463
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
12199
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, null, RightToLeft.Yes, 1 };
12200
yield return new object[] { RightToLeft.Yes, RightToLeft.
Inherit
, new EventArgs(), RightToLeft.Yes, 1 };
12208
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, null, RightToLeft.No, 1 };
12209
yield return new object[] { RightToLeft.No, RightToLeft.
Inherit
, new EventArgs(), RightToLeft.No, 1 };
12211
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, null, RightToLeft.Yes, 0 };
12212
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.Yes, new EventArgs(), RightToLeft.Yes, 0 };
12214
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, null, RightToLeft.No, 0 };
12215
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.No, new EventArgs(), RightToLeft.No, 0 };
12217
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, null, RightToLeft.No, 1 };
12218
yield return new object[] { RightToLeft.
Inherit
, RightToLeft.
Inherit
, new EventArgs(), RightToLeft.No, 1 };
12656
yield return new object[] { RightToLeft.
Inherit
, null, 1 };
12657
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 1 };
14241
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
14246
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
14250
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
85
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
75
Assert.Equal(RightToLeft.
Inherit
, item.RightToLeft);
System\Windows\Forms\ToolStripTests.cs (113)
1665
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1668
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1671
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1674
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1677
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1681
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1684
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1687
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1690
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1693
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1697
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1700
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1703
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1706
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1709
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1713
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1716
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1719
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1722
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1725
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1729
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1732
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1735
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1738
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1741
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1790
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1793
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1796
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1799
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1802
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1806
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1809
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1812
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1815
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1818
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1822
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1825
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1828
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1831
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1834
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1838
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1841
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1844
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1847
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1850
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1854
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1857
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1860
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1863
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1866
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1926
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1929
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1932
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1935
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1938
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1942
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1945
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1948
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1951
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1954
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1958
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1961
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1964
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1967
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1970
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1974
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1977
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1980
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1983
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
1986
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
1990
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1993
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
1996
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
1999
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2002
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2030
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2033
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2036
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2039
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2042
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2046
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2049
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2052
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2055
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2058
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2062
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2065
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
2068
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2071
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2074
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2078
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2081
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2084
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2087
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.BelowRight };
2090
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.AboveRight };
2094
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2097
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Left };
2100
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2103
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2106
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.
Inherit
, ToolStripDropDownDirection.Right };
2268
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2271
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2275
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(x, 0, width, 25) };
2278
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2282
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(x, 0, width, 25) };
2285
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2289
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2292
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
2296
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Visible, RightToLeft.
Inherit
, new Rectangle(0, x, 99, height) };
2299
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.Hidden, RightToLeft.
Inherit
, new Rectangle(0, 0, 99, 25) };
3446
[InlineData(RightToLeft.
Inherit
, RightToLeft.No, 0)]
3549
control.RightToLeft = RightToLeft.
Inherit
;
6403
RightToLeft = RightToLeft.
Inherit
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
332
[InlineData(true, RightToLeft.
Inherit
, false)]
System\Windows\Forms\TreeViewTests.cs (10)
668
[InlineData(RightToLeft.
Inherit
, true, 0x56010007, 0x200)]
671
[InlineData(RightToLeft.
Inherit
, false, 0x56010007, 0x200)]
3072
[InlineData(RightToLeft.
Inherit
, true, 1)]
3073
[InlineData(RightToLeft.
Inherit
, false, 0)]
3112
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
3113
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
6506
yield return new object[] { RightToLeft.
Inherit
, null };
6507
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
6545
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
6546
yield return new object[] { RightToLeft.
Inherit
, new EventArgs(), 0 };
System\Windows\Forms\VScrollBarTests.cs (1)
179
control.RightToLeft = RightToLeft.
Inherit
;
TrackBarTests.cs (32)
188
[InlineData(RightToLeft.
Inherit
, true, 0x0)]
191
[InlineData(RightToLeft.
Inherit
, false, 0x0)]
795
[InlineData(RightToLeft.
Inherit
, true, 5)]
798
[InlineData(RightToLeft.
Inherit
, false, 5)]
1552
[InlineData(RightToLeft.
Inherit
, true, 1)]
1553
[InlineData(RightToLeft.
Inherit
, false, 0)]
1592
[InlineData(RightToLeft.
Inherit
, true, 1, 0, 0)]
1593
[InlineData(RightToLeft.
Inherit
, false, 0, 0, 0)]
2046
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 0, 0 };
2047
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 0, 0 };
2052
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 0, 10 };
2053
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 0, 10 };
2059
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 1, 1 };
2060
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 1, 1 };
2065
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 1, 9 };
2066
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 1, 9 };
2072
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 5, 5 };
2073
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 5, 5 };
2078
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 5, 5 };
2079
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 5, 5 };
2085
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 9, 9 };
2086
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 9, 9 };
2091
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 9, 1 };
2092
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 9, 1 };
2098
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, true, 10, 10 };
2099
yield return new object[] { Orientation.Horizontal, RightToLeft.
Inherit
, false, 10, 10 };
2104
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, true, 10, 0 };
2105
yield return new object[] { Orientation.Vertical, RightToLeft.
Inherit
, false, 10, 0 };
2609
yield return new object[] { RightToLeft.
Inherit
, null };
2610
yield return new object[] { RightToLeft.
Inherit
, new EventArgs() };
2648
yield return new object[] { RightToLeft.
Inherit
, null, 0 };
2649
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)
1074
private RightToLeft _rightToLeft = RightToLeft.
Inherit
;
1084
return _rightToLeft == RightToLeft.
Inherit
?
1092
bool fireRightToLeftChanged = _rightToLeft != RightToLeft.
Inherit
|| base.RightToLeft != value;