132 references to Simple
Accessibility_Core_App (1)
CommonControl1.Designer.cs (1)
318
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;
System.Windows.Forms (26)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (5)
43
? owner.DropDownStyle != ComboBoxStyle.
Simple
101
if (!owner.IsHandleCreated || owner.DropDownStyle == ComboBoxStyle.
Simple
)
229
ComboBoxStyle.
Simple
=> null,
235
this.TryGetOwnerAs(out ComboBox? owner) && owner.DropDownStyle == ComboBoxStyle.
Simple
241
if (!this.IsOwnerHandleCreated(out ComboBox? owner) || owner.DropDownStyle == ComboBoxStyle.
Simple
)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (1)
56
=> _owningComboBox.DropDownStyle != ComboBoxStyle.
Simple
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
91
return _owningComboBox.DropDownStyle == ComboBoxStyle.
Simple
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (16)
309
new ComboBoxChildListUiaProvider(this, DropDownStyle == ComboBoxStyle.
Simple
? _childListBox!.HWND : _dropDownHandle);
344
case ComboBoxStyle.
Simple
:
789
if (DropDownStyle == ComboBoxStyle.
Simple
)
1393
if (DropDownStyle == ComboBoxStyle.
Simple
&& m.HWnd == _childListBox!.Handle)
1412
if (DropDownStyle == ComboBoxStyle.
Simple
&& m.HWnd == _childListBox!.Handle)
1452
if (DropDownStyle == ComboBoxStyle.
Simple
&& m.HWnd == _childListBox!.Handle)
1477
if (DropDownStyle == ComboBoxStyle.
Simple
&& m.HWnd == _childListBox!.Handle)
1974
return DropDownStyle == ComboBoxStyle.
Simple
? new(_childListBox) : new(this, _dropDownHandle);
1979
return DropDownStyle == ComboBoxStyle.
Simple
? _childListBox! : _childDropDown!;
2287
if (DropDownStyle == ComboBoxStyle.
Simple
)
2318
if (DropDownStyle == ComboBoxStyle.
Simple
)
2662
if (DropDownStyle == ComboBoxStyle.
Simple
)
2801
if (DropDownStyle == ComboBoxStyle.
Simple
&& recreate)
2821
if (DropDownStyle == ComboBoxStyle.
Simple
&& IsHandleCreated)
3260
if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.
Simple
)
3449
if ((DropDownStyle == ComboBoxStyle.
Simple
) && ParentInternal is not null)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (2)
69
if (comboBox.DropDownStyle == ComboBoxStyle.
Simple
)
114
if (comboBox.DropDownStyle == ComboBoxStyle.
Simple
)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.DataGridViewComboBoxEditingControlAccessibleObject.cs (1)
57
=> owner.DropDownStyle != ComboBoxStyle.
Simple
,
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
109
ComboBoxStyle style = ComboBoxStyle.
Simple
;
System.Windows.Forms.Tests (98)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (6)
80
[InlineData(ComboBoxStyle.
Simple
)]
132
bool childListDisplayed = droppedDown || comboBoxStyle == ComboBoxStyle.
Simple
;
195
AccessibleObject expectedLastChild = comboBoxStyle == ComboBoxStyle.
Simple
207
[InlineData(ComboBoxStyle.
Simple
)]
327
using ComboBox comboBox = new() { DropDownStyle = ComboBoxStyle.
Simple
};
382
using ComboBox comboBox = new() { DropDownStyle = ComboBoxStyle.
Simple
};
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (16)
84
[InlineData(ComboBoxStyle.
Simple
)]
123
[InlineData(ComboBoxStyle.
Simple
)]
168
[InlineData(ComboBoxStyle.
Simple
)]
181
[InlineData(ComboBoxStyle.
Simple
)]
251
if (comboBoxStyle == ComboBoxStyle.
Simple
)
303
if (comboBoxStyle == ComboBoxStyle.
Simple
)
371
int initialYPosition = comboBoxStyle == ComboBoxStyle.
Simple
? 56 : 55;
372
int x = comboBoxStyle == ComboBoxStyle.
Simple
? 10 : 9;
390
if (comboBoxStyle == ComboBoxStyle.
Simple
)
410
int itemWidth = comboBoxStyle == ComboBoxStyle.
Simple
? 79 : 81;
429
int width = comboBoxStyle == ComboBoxStyle.
Simple
? 96 : 81;
430
int x = comboBoxStyle == ComboBoxStyle.
Simple
? 10 : 9;
431
int y = comboBoxStyle == ComboBoxStyle.
Simple
? 57 : 56;
452
if (comboBoxStyle == ComboBoxStyle.
Simple
)
564
using ComboBox comboBox = GetComboBoxWithMaxSize(ComboBoxStyle.
Simple
);
637
using ComboBox comboBox = GetComboBoxWithMaxSize(ComboBoxStyle.
Simple
);
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (2)
15
if (comboBoxStyle == ComboBoxStyle.
Simple
)
85
[InlineData(ComboBoxStyle.
Simple
)]
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (5)
25
bool childListDisplayed = droppedDown || comboBoxStyle == ComboBoxStyle.
Simple
;
100
AccessibleObject expectedItem = comboBoxStyle != ComboBoxStyle.
Simple
110
[InlineData(ComboBoxStyle.
Simple
)]
126
[InlineData(ComboBoxStyle.
Simple
)]
142
[InlineData(ComboBoxStyle.
Simple
)]
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (2)
46
AccessibleObject expectedItem = comboBoxStyle == ComboBoxStyle.
Simple
105
if (comboBoxStyle == ComboBoxStyle.
Simple
)
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (58)
15
[InlineData(ComboBoxStyle.
Simple
)]
40
[InlineData(ComboBoxStyle.
Simple
)]
56
[InlineData(ComboBoxStyle.
Simple
)]
72
[InlineData(ComboBoxStyle.
Simple
)]
86
[InlineData(ComboBoxStyle.
Simple
)]
102
[InlineData(ComboBoxStyle.
Simple
)]
119
[InlineData(ComboBoxStyle.
Simple
, RightToLeft.Yes, true)]
120
[InlineData(ComboBoxStyle.
Simple
, RightToLeft.No, false)]
135
[InlineData(ComboBoxStyle.
Simple
, RightToLeft.Yes)]
136
[InlineData(ComboBoxStyle.
Simple
, RightToLeft.No)]
152
[InlineData(ComboBoxStyle.
Simple
)]
172
[InlineData(ComboBoxStyle.
Simple
)]
185
[InlineData(ComboBoxStyle.
Simple
)]
202
[InlineData(ComboBoxStyle.
Simple
)]
220
[InlineData(ComboBoxStyle.
Simple
)]
240
[InlineData(ComboBoxStyle.
Simple
)]
256
[InlineData(ComboBoxStyle.
Simple
)]
273
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 0)]
274
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 50)]
275
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 100)]
276
[InlineData(ComboBoxStyle.
Simple
, 50, 20, -5)]
298
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 5)]
383
[InlineData(ComboBoxStyle.
Simple
)]
403
[InlineData(ComboBoxStyle.
Simple
)]
426
yield return new object[] { ComboBoxStyle.
Simple
, new Size(50, 20), "Some test text for testing", 0, new Point(1, 0) };
427
yield return new object[] { ComboBoxStyle.
Simple
, new Size(50, 20), "Some test text for testing", 15, new Point(79, 0) };
453
yield return new object[] { ComboBoxStyle.
Simple
, new Size(50, 20), "Some test text for testing", 0 };
454
yield return new object[] { ComboBoxStyle.
Simple
, new Size(50, 20), "Some test text for testing", 15 };
587
[InlineData(ComboBoxStyle.
Simple
)]
690
[InlineData(ComboBoxStyle.
Simple
)]
704
[InlineData(ComboBoxStyle.
Simple
)]
722
[InlineData(ComboBoxStyle.
Simple
)]
740
[InlineData(ComboBoxStyle.
Simple
)]
839
yield return new object[] { ComboBoxStyle.
Simple
, new Size(0, 0) };
840
yield return new object[] { ComboBoxStyle.
Simple
, new Size(100, 20) };
883
[InlineData(ComboBoxStyle.
Simple
)]
904
yield return new object[] { ComboBoxStyle.
Simple
, Point.Empty };
905
yield return new object[] { ComboBoxStyle.
Simple
, new Point(10, 10) };
945
[InlineData(ComboBoxStyle.
Simple
, 2, 5)]
946
[InlineData(ComboBoxStyle.
Simple
, 0, 10)]
974
[InlineData(ComboBoxStyle.
Simple
, 2, 5)]
975
[InlineData(ComboBoxStyle.
Simple
, 0, 10)]
1004
[InlineData(ComboBoxStyle.
Simple
, -5, 10)]
1005
[InlineData(ComboBoxStyle.
Simple
, 5, 100)]
1037
[InlineData(ComboBoxStyle.
Simple
, 0)]
1038
[InlineData(ComboBoxStyle.
Simple
, 2)]
1056
[InlineData(ComboBoxStyle.
Simple
, 0)]
1057
[InlineData(ComboBoxStyle.
Simple
, 2)]
1076
[InlineData(ComboBoxStyle.
Simple
)]
1093
[InlineData(ComboBoxStyle.
Simple
)]
1108
[InlineData(ComboBoxStyle.
Simple
)]
1122
[InlineData(ComboBoxStyle.
Simple
)]
1139
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 0)]
1140
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 50)]
1141
[InlineData(ComboBoxStyle.
Simple
, 50, 20, 200)]
1142
[InlineData(ComboBoxStyle.
Simple
, 50, 20, -5)]
1166
[InlineData(ComboBoxStyle.
Simple
, 0)]
1167
[InlineData(ComboBoxStyle.
Simple
, 2)]
System\Windows\Forms\ComboBoxTests.cs (8)
844
yield return new object[] { source, mode, ComboBoxStyle.
Simple
, mode };
903
control.DropDownStyle = ComboBoxStyle.
Simple
;
912
[InlineData(ComboBoxStyle.
Simple
, 1)]
966
control.DropDownStyle = ComboBoxStyle.
Simple
;
967
Assert.Equal(ComboBoxStyle.
Simple
, control.DropDownStyle);
2153
[InlineData(ComboBoxStyle.
Simple
)]
2736
comboBox.DropDownStyle = ComboBoxStyle.
Simple
;
2740
comboBox.DropDownStyle.Should().Be(ComboBoxStyle.
Simple
);
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
162
[InlineData(ComboBoxStyle.
Simple
)]
WinFormsControlsTest (6)
ComboBoxes.Designer.cs (5)
169
this.comboBox9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;
182
this.comboBox10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;
195
this.comboBox11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;
209
this.comboBox12.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;
229
this.dataBoundComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;
ComboBoxesWithScrollBars.Designer.cs (1)
83
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.
Simple
;