13 types derived from ComboBox
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
8
public partial class DataGridViewComboBoxEditingControl :
ComboBox
, IDataGridViewEditingControl
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
8
internal partial class ToolStripComboBoxControl :
ComboBox
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObject.cs (1)
10
internal partial class ToolStripComboBoxControl :
ComboBox
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (1)
11
internal partial class ToolStripComboBoxControl :
ComboBox
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
971
private class ImageComboBox :
ComboBox
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
475
private class DifferentHeightComboBox :
ComboBox
System\Windows\Forms\ComboBoxTests.cs (7)
322
private class TestComboBox :
ComboBox
348
private class TestableComboBox :
ComboBox
708
public class CustomComboBox :
ComboBox
2755
private class OwnerDrawComboBox :
ComboBox
2771
private class AutomationEventCountingComboBox :
ComboBox
2811
private class SubComboBox :
ComboBox
2943
private class ComboBoxWithSelectCounter :
ComboBox
296 instantiations of ComboBox
PresentationUI (3)
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
47
_intentComboBox = new System.Windows.Forms.
ComboBox
();
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
45
this.comboBoxTemplates = new System.Windows.Forms.
ComboBox
();
MS\Internal\Documents\SigningDialog.Designer.cs (1)
41
_reasonComboBox = new System.Windows.Forms.
ComboBox
();
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
276
_columnTypesCombo = new
ComboBox
();
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
127
_keyComboBox = new
ComboBox
();
System\Windows\Forms\Design\StyleEditorForm.cs (1)
164
_columnsOrRowsComboBox = new
ComboBox
();
System.Windows.Forms.Design.Tests (6)
DataMemberFieldEditorTests.cs (1)
25
contextMock.Setup(c => c.Instance).Returns(new
ComboBox
());
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (1)
257
using ComboBox comboBox =
new
();
System\Windows\Forms\Design\ComboBoxDesignerTests.cs (4)
14
using ComboBox comboBox =
new
();
24
using ComboBox comboBox =
new
();
34
using ComboBox comboBox =
new
();
50
using ComboBox comboBox =
new
();
System.Windows.Forms.Tests (260)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (1)
2652
using ComboBox comboBox =
new
();
System\Windows\Forms\AccessibleObjects\ComboBox.ChildAccessibleObjectTests.cs (2)
19
using ComboBox control =
new
();
34
using ComboBox control =
new
();
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (22)
18
using ComboBox control =
new
();
36
using ComboBox control = new
ComboBox
59
using ComboBox control = new
ComboBox
85
using ComboBox comboBox = new
ComboBox
102
using ComboBox control =
new
();
113
using ComboBox comboBox =
new
();
149
using ComboBox comboBox = new
ComboBox
185
using ComboBox comboBox = new
ComboBox
212
using ComboBox comboBox = new
ComboBox
232
using ComboBox control =
new
();
260
using ComboBox comboBox =
new
();
273
using ComboBox comboBox =
new
();
299
using ComboBox comboBox =
new
();
311
using ComboBox comboBox =
new
() { AccessibleDefaultActionDescription = "Test" };
320
using ComboBox comboBox =
new
();
329
using ComboBox comboBox =
new
() { DropDownStyle = ComboBoxStyle.Simple };
348
using ComboBox comboBox =
new
() { DropDownStyle = style };
360
using ComboBox comboBox =
new
() { DropDownStyle = style };
371
using ComboBox comboBox =
new
();
384
using ComboBox comboBox =
new
() { DropDownStyle = ComboBoxStyle.Simple };
402
using ComboBox comboBox =
new
() { DropDownStyle = style };
490
ComboBox comboBox =
new
();
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (10)
25
using ComboBox control =
new
();
66
using ComboBox control =
new
()
89
using ComboBox comboBox = new
ComboBox
128
using ComboBox comboBox = new
ComboBox
197
using ComboBox comboBox =
new
();
216
using ComboBox comboBox =
new
();
246
using ComboBox comboBox =
new
();
295
using ComboBox comboBox =
new
();
386
using ComboBox comboBox =
new
();
655
ComboBox comboBox = new
ComboBox
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (2)
31
using ComboBox comboBox =
new
();
46
using ComboBox comboBox =
new
();
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (8)
53
using ComboBox comboBox =
new
();
68
using ComboBox comboBox =
new
();
87
using ComboBox comboBox =
new
();
114
using ComboBox comboBox =
new
();
130
using ComboBox comboBox =
new
();
168
using ComboBox comboBox =
new
();
196
using ComboBox comboBox =
new
();
240
using ComboBox comboBox =
new
();
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
42
ComboBox comboBox =
new
()
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
280
{ new
ComboBox
(), new string[] { "DataSource: Object", "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (4)
39
using ComboBox comboBox = new
ComboBox
64
using ComboBox comboBox = new
ComboBox
93
using ComboBox comboBox = new
ComboBox
110
using ComboBox comboBox = new
ComboBox
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (6)
42
using ComboBox comboBox = new
ComboBox
88
using ComboBox comboBox = new
ComboBox
115
using ComboBox comboBox = new
ComboBox
131
using ComboBox comboBox = new
ComboBox
147
using ComboBox comboBox = new
ComboBox
161
using ComboBox comboBox =
new
();
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (3)
34
using ComboBox comboBox = new
ComboBox
63
using ComboBox comboBox = new
ComboBox
99
using ComboBox comboBox =
new
()
System\Windows\Forms\ComboBox.ComboBoxChildNativeWindowTests.cs (1)
13
using ComboBox comboBox =
new
() { DropDownStyle = ComboBoxStyle.DropDown };
System\Windows\Forms\ComboBox.ComboBoxChildTextUiaProviderTests.cs (2)
29
using ComboBox comboBox = new
ComboBox
54
using ComboBox comboBox = new
ComboBox
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (53)
22
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
47
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
63
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
77
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
93
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
109
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
125
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
143
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
159
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
179
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
192
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
207
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
227
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
247
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
261
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
285
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
309
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
347
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
370
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
390
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
410
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
436
using ComboBox comboBox =
new
() { Size = size, DropDownStyle = dropdownStyle };
465
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
502
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
542
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
576
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
594
using ComboBox comboBox = new
ComboBox
() { DropDownStyle = dropDownStyle, Size = new Size(250, 100) };
625
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
645
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
662
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
679
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
695
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
711
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
727
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
747
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
781
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
823
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
849
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
869
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
890
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
914
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
932
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
951
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
982
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
1012
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
1043
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1064
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1081
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1100
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1113
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1127
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1151
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
1172
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (65)
20
using ComboBox comboBox =
new
();
43
using ComboBox comboBox =
new
();
68
using ComboBox comboBox =
new
();
89
using ComboBox comboBox =
new
();
106
using ComboBox comboBox = new
ComboBox
127
using ComboBox comboBox =
new
();
153
using ComboBox comboBox = new
ComboBox
186
using ComboBox comboBox = new
ComboBox
218
using ComboBox comboBox =
new
();
241
using ComboBox comboBox =
new
();
261
using ComboBox comboBox =
new
();
286
using ComboBox comboBox =
new
();
309
using ComboBox comboBox = new
ComboBox
340
using ComboBox comboBox = new
ComboBox
370
using ComboBox comboBox =
new
();
386
using ComboBox comboBox = new
ComboBox
407
using ComboBox comboBox =
new
();
429
using ComboBox comboBox =
new
();
454
using ComboBox comboBox = new
ComboBox
475
using ComboBox comboBox =
new
();
499
using ComboBox comboBox =
new
();
527
using ComboBox comboBox =
new
();
544
using ComboBox comboBox =
new
();
561
using ComboBox comboBox =
new
();
578
using ComboBox comboBox =
new
();
598
using ComboBox comboBox =
new
();
622
using ComboBox comboBox =
new
();
647
using ComboBox comboBox =
new
();
676
using ComboBox comboBox =
new
();
702
using ComboBox comboBox = new
ComboBox
733
using ComboBox comboBox = new
ComboBox
765
using ComboBox comboBox =
new
();
782
using ComboBox comboBox =
new
();
799
using ComboBox comboBox =
new
();
816
using ComboBox comboBox = new
ComboBox
837
using ComboBox comboBox =
new
();
859
using ComboBox comboBox =
new
();
883
using ComboBox comboBox =
new
();
900
using ComboBox comboBox =
new
();
917
using ComboBox comboBox = new
ComboBox
938
using ComboBox comboBox =
new
();
962
using ComboBox comboBox =
new
();
985
using ComboBox comboBox =
new
();
1016
using ComboBox comboBox =
new
();
1038
using ComboBox comboBox =
new
();
1062
using ComboBox comboBox =
new
();
1083
using ComboBox comboBox =
new
();
1107
using ComboBox comboBox =
new
();
1132
using ComboBox comboBox =
new
();
1152
using ComboBox comboBox =
new
();
1169
using ComboBox comboBox =
new
();
1186
using ComboBox comboBox =
new
();
1214
using ComboBox comboBox =
new
();
1245
using ComboBox comboBox =
new
();
1266
using ComboBox comboBox =
new
();
1289
using ComboBox comboBox =
new
();
1310
using ComboBox comboBox =
new
();
1329
using ComboBox comboBox =
new
();
1346
using ComboBox comboBox =
new
();
1363
using ComboBox comboBox =
new
();
1384
using ComboBox comboBox =
new
();
1417
using ComboBox comboBox =
new
();
1453
using ComboBox comboBox =
new
();
1466
using ComboBox comboBox =
new
();
1479
using ComboBox comboBox =
new
();
System\Windows\Forms\ComboBoxTests.cs (79)
161
using ComboBox control =
new
();
175
using ComboBox control =
new
()
198
using ComboBox control =
new
();
230
using ComboBox control =
new
();
246
using ComboBox control =
new
();
282
using ComboBox control =
new
();
298
using ComboBox control =
new
();
313
using ComboBox control =
new
();
402
using ComboBox control =
new
();
428
using ComboBox control1 =
new
();
432
using ComboBox control2 =
new
() { AutoCompleteSource = AutoCompleteSource.ListItems };
437
using ComboBox control3 =
new
();
443
using ComboBox control4 =
new
();
451
using ComboBox control =
new
();
503
using ComboBox control =
new
()
519
using ComboBox control =
new
();
562
using ComboBox control =
new
()
578
using ComboBox control =
new
();
614
using ComboBox control =
new
();
655
using ComboBox control =
new
();
826
using ComboBox control =
new
()
856
using ComboBox control =
new
()
879
using ComboBox control =
new
();
888
using ComboBox control =
new
();
895
using ComboBox control =
new
()
918
using ComboBox control =
new
();
946
using ComboBox control =
new
();
982
using ComboBox control =
new
();
1008
using ComboBox control =
new
();
1060
using ComboBox control =
new
()
1086
using ComboBox control =
new
();
1114
using ComboBox control =
new
();
1150
using ComboBox control =
new
();
1166
using ComboBox control =
new
();
1182
using ComboBox control =
new
()
1199
using ComboBox control =
new
();
1227
using ComboBox control =
new
();
1265
using ComboBox control =
new
()
1281
using ComboBox control =
new
();
1317
using ComboBox control =
new
();
1327
using ComboBox control =
new
();
1349
using ComboBox control =
new
()
1371
using ComboBox control =
new
();
1383
using ComboBox control =
new
();
1397
using ComboBox control =
new
();
1409
using ComboBox control =
new
();
1423
using ComboBox control =
new
();
1436
using ComboBox control =
new
();
1495
yield return new object[] { new
ComboBox
(), null, startIndex, -1 };
1496
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, -1 };
1497
yield return new object[] { new
ComboBox
(), "s", startIndex, -1 };
1499
using ComboBox controlWithNoItems =
new
();
1501
yield return new object[] { new
ComboBox
(), null, startIndex, -1 };
1502
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, -1 };
1503
yield return new object[] { new
ComboBox
(), "s", startIndex, -1 };
1506
using ComboBox controlWithItems =
new
()
1590
using ComboBox control =
new
();
1601
yield return new object[] { new
ComboBox
(), null, startIndex, ignoreCase, -1 };
1602
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, ignoreCase, -1 };
1603
yield return new object[] { new
ComboBox
(), "s", startIndex, ignoreCase, -1 };
1605
using ComboBox controlWithNoItems =
new
();
1607
yield return new object[] { new
ComboBox
(), null, startIndex, ignoreCase, -1 };
1608
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, ignoreCase, -1 };
1609
yield return new object[] { new
ComboBox
(), "s", startIndex, ignoreCase, -1 };
1613
using ComboBox controlWithItems =
new
()
1714
using ComboBox control =
new
();
2157
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(100, 50) };
2261
using ComboBox comboBox =
new
();
2427
using ComboBox comboBox =
new
();
2449
using ComboBox comboBox =
new
();
2466
using ComboBox comboBox =
new
();
2481
using ComboBox comboBox =
new
();
2565
using ComboBox comboBox =
new
();
2630
ComboBox control =
new
()
2673
using ComboBox control =
new
();
2684
using ComboBox control =
new
();
2698
using ComboBox control =
new
();
2710
using ComboBox control =
new
();
2722
using ComboBox comboBox =
new
();
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
302
using ComboBox comboBox1 =
new
();
TestPassApp (3)
CommonControl1.Designer.cs (2)
53
this.comboBox2 = new System.Windows.Forms.
ComboBox
();
55
this.comboBox1 = new System.Windows.Forms.
ComboBox
();
DataBindingExample.Designer.cs (1)
30
this.comboBox1 = new System.Windows.Forms.
ComboBox
();
TrimTest (1)
Form1.Designer.cs (1)
36
comboBox1 = new
ComboBox
();
WinFormsControlsTest (19)
Calendar.Designer.cs (1)
42
this.daysOfWeekComboBox = new System.Windows.Forms.
ComboBox
();
CollectionEditors.Designer.cs (1)
34
this.comboBox1 = new System.Windows.Forms.
ComboBox
();
ComboBoxes.Designer.cs (13)
34
this.comboBox1 = new System.Windows.Forms.
ComboBox
();
35
this.comboBox2 = new System.Windows.Forms.
ComboBox
();
36
this.comboBox3 = new System.Windows.Forms.
ComboBox
();
37
this.comboBox4 = new System.Windows.Forms.
ComboBox
();
38
this.comboBox5 = new System.Windows.Forms.
ComboBox
();
39
this.comboBox6 = new System.Windows.Forms.
ComboBox
();
40
this.comboBox7 = new System.Windows.Forms.
ComboBox
();
41
this.comboBox8 = new System.Windows.Forms.
ComboBox
();
42
this.comboBox9 = new System.Windows.Forms.
ComboBox
();
43
this.comboBox10 = new System.Windows.Forms.
ComboBox
();
44
this.comboBox11 = new System.Windows.Forms.
ComboBox
();
45
this.comboBox12 = new System.Windows.Forms.
ComboBox
();
46
this.dataBoundComboBox = new System.Windows.Forms.
ComboBox
();
ComboBoxesWithScrollBars.Designer.cs (3)
35
this.comboBox1 = new System.Windows.Forms.
ComboBox
();
36
this.comboBox2 = new System.Windows.Forms.
ComboBox
();
37
this.comboBox3 = new System.Windows.Forms.
ComboBox
();
MultipleControls.Designer.cs (1)
43
this.comboBox1 = new System.Windows.Forms.
ComboBox
();
489 references to ComboBox
DemoConsole (2)
MainForm.cs (2)
224
ComboBox
cb1 = surface.CreateControl<
ComboBox
>(new Size(200, 20), new Point(260, 16));
PresentationUI (3)
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
246
private System.Windows.Forms.
ComboBox
_intentComboBox;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
410
private System.Windows.Forms.
ComboBox
comboBoxTemplates;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
293
private System.Windows.Forms.
ComboBox
_reasonComboBox;
System.Windows.Forms (68)
System\Windows\Forms\Controls\ComboBox\ComboBox.ChildAccessibleObject.cs (2)
10
private readonly
ComboBox
_owner;
12
public ChildAccessibleObject(
ComboBox
owner, IntPtr handle)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (18)
6
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
25
public ComboBoxAccessibleObject(
ComboBox
owningComboBox) : base(owningComboBox)
32
if (this.IsOwnerHandleCreated(out
ComboBox
? owner) && owner.DroppedDown != expand)
39
=> this.TryGetOwnerAs(out
ComboBox
? _) || base.IsIAccessibleExSupported();
42
=> patternId == UIA_PATTERN_ID.UIA_ExpandCollapsePatternId && this.TryGetOwnerAs(out
ComboBox
? owner)
51
=> this.IsOwnerHandleCreated(out
ComboBox
? owner) && owner.DroppedDown
67
=> _dropDownButtonUiaProvider ??= this.TryGetOwnerAs(out
ComboBox
? owner) ? new ComboBoxChildDropDownButtonUiaProvider(owner) : null;
71
if (!this.IsOwnerHandleCreated(out
ComboBox
? _))
90
if (!this.TryGetOwnerAs(out
ComboBox
? owner))
122
UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out
ComboBox
? owner) && owner.Focused),
128
if (!this.TryGetOwnerAs(out
ComboBox
? owner))
168
if (!this.IsOwnerHandleCreated(out
ComboBox
? _))
178
if (!this.IsOwnerHandleCreated(out
ComboBox
? _))
188
if (!this.IsOwnerHandleCreated(out
ComboBox
? _))
200
if (!this.TryGetOwnerAs(out
ComboBox
? owner))
220
if (this.TryGetOwnerAs(out
ComboBox
? owner) && owner.DroppedDown)
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.ComboBoxChildDropDownButtonUiaProvider.cs (2)
22
private readonly
ComboBox
_owner;
28
public ComboBoxChildDropDownButtonUiaProvider(
ComboBox
owner)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (2)
20
private readonly
ComboBox
_owningComboBox;
29
public ComboBoxChildEditUiaProvider(
ComboBox
owner, HWND childEditControlhandle) : base(owner, childEditControlhandle)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (3)
7
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
21
private readonly
ComboBox
_owningComboBox;
24
public ComboBoxChildListUiaProvider(
ComboBox
owningComboBox, HWND childListControlhandle) : base(owningComboBox, childListControlhandle)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildNativeWindow.cs (2)
12
private readonly
ComboBox
_owner;
15
public ComboBoxChildNativeWindow(
ComboBox
comboBox, ChildWindowType childWindowType)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildTextUiaProvider.cs (2)
20
private readonly
ComboBox
_owner;
26
public ComboBoxChildTextUiaProvider(
ComboBox
owner)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (7)
8
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
15
/// Represents the <see cref="
ComboBox
"/> item accessible object.
19
private readonly
ComboBox
_owningComboBox;
23
/// Initializes new instance of <see cref="
ComboBox
"/> item accessible object.
25
/// <param name="owningComboBox">The owning <see cref="
ComboBox
"/>.</param>
26
/// <param name="owningItem">The owning <see cref="
ComboBox
"/> item.</param>
27
public ComboBoxItemAccessibleObject(
ComboBox
owningComboBox, Entry owningItem)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObjectCollection.cs (2)
4
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
21
if (!ContainsKey(key) && _owningComboBoxAccessibleObject.TryGetOwnerAs(out
ComboBox
? owner))
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (2)
30
private readonly
ComboBox
_owningComboBox;
32
public ComboBoxUiaTextProvider(
ComboBox
owner)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
13
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (7)
26
public FlatComboAdapter(
ComboBox
comboBox, bool smallButton)
58
public bool IsValid(
ComboBox
combo)
66
public virtual void DrawFlatCombo(
ComboBox
comboBox, Graphics g)
142
protected virtual void DrawFlatComboDropDown(
ComboBox
comboBox, Graphics g, Rectangle dropDownRect)
170
protected virtual Color GetOuterBorderColor(
ComboBox
comboBox)
173
protected virtual Color GetPopupOuterBorderColor(
ComboBox
comboBox, bool focused)
183
protected virtual Color GetInnerBorderColor(
ComboBox
comboBox)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (3)
7
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
16
private readonly
ComboBox
_owner;
20
public ObjectCollection(
ComboBox
owner)
System\Windows\Forms\Controls\ComboBox\ComboBoxStyle.cs (1)
7
/// Specifies the <see cref="
ComboBox
"/> style.
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
584
ComboBox
comboBox = EditingComboBox;
1254
if (DataGridView.EditingControl is
ComboBox
comboBox)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (5)
103
public
ComboBox
ComboBox => (
ComboBox
)Control;
209
public
ComboBox
.ObjectCollection Items
406
if (control is
ComboBox
comboBox)
422
if (control is
ComboBox
comboBox)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (5)
15
public ToolStripComboBoxFlatComboAdapter(
ComboBox
comboBox) : base(comboBox, smallButton: true)
19
private static bool UseBaseAdapter(
ComboBox
comboBox)
41
protected override Color GetOuterBorderColor(
ComboBox
comboBox)
51
protected override Color GetPopupOuterBorderColor(
ComboBox
comboBox, bool focused)
68
protected override void DrawFlatComboDropDown(
ComboBox
comboBox, Graphics g, Rectangle dropDownRect)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
10
/// <see cref="
ComboBox
"/>. It contains all the information needed for the user to paint the given item,
System\Windows\Forms\Rendering\DrawItemState.cs (1)
18
/// The item is the editing portion of a <see cref="
ComboBox
"/> .
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ComboBoxDesigner.cs (2)
20
public override
ComboBox
Control => (
ComboBox
)Component;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
22
private
ComboBox
_columnTypesCombo;
System\Windows\Forms\Design\DataMemberFieldEditor.cs (1)
24
if (TypeDescriptor.GetProperties(instance)[nameof(
ComboBox
.DataSource)] is not PropertyDescriptor property)
System\Windows\Forms\Design\DataMemberListEditor.cs (1)
22
if (TypeDescriptor.GetProperties(context.Instance)[nameof(
ComboBox
.DataSource)] is { } dataSourceProperty)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
37
private
ComboBox
_keyComboBox;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
52
private
ComboBox
_columnsOrRowsComboBox;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
630
if (sender is
ComboBox
)
680
else if (sender is
ComboBox
box)
System.Windows.Forms.Design.Tests (8)
EnsureEditorsTests.cs (2)
87
[InlineData(typeof(
ComboBox
), "AutoCompleteCustomSource", typeof(ListControlStringCollectionEditor))]
88
[InlineData(typeof(
ComboBox
), "Items", typeof(ListControlStringCollectionEditor))]
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (1)
257
using
ComboBox
comboBox = new();
System\Windows\Forms\Design\ComboBoxDesignerTests.cs (4)
14
using
ComboBox
comboBox = new();
24
using
ComboBox
comboBox = new();
34
using
ComboBox
comboBox = new();
50
using
ComboBox
comboBox = new();
System\Windows\Forms\Design\EventHandlerServiceTests.cs (1)
102
service.PopHandler(typeof(
ComboBox
));
System.Windows.Forms.Tests (372)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (3)
2652
using
ComboBox
comboBox = new();
2700
typeof(
ComboBox
.ChildAccessibleObject),
2706
if (type.BaseType != typeof(AccessibleObject) && type.BaseType != typeof(
ComboBox
.ChildAccessibleObject))
System\Windows\Forms\AccessibleObjects\ComboBox.ChildAccessibleObjectTests.cs (5)
13
Assert.Throws<ArgumentNullException>(() => new
ComboBox
.ChildAccessibleObject(null, IntPtr.Zero));
19
using
ComboBox
control = new();
22
var accessibleObject = new
ComboBox
.ChildAccessibleObject(control, IntPtr.Zero);
34
using
ComboBox
control = new();
38
var accessibleObject = new
ComboBox
.ChildAccessibleObject(control, IntPtr.Zero);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (41)
18
using
ComboBox
control = new();
25
ComboBox
.ComboBoxAccessibleObject accessibleObject = new(control);
36
using
ComboBox
control = new ComboBox
59
using
ComboBox
control = new ComboBox
85
using
ComboBox
comboBox = new ComboBox
102
using
ComboBox
control = new();
113
using
ComboBox
comboBox = new();
149
using
ComboBox
comboBox = new ComboBox
185
using
ComboBox
comboBox = new ComboBox
212
using
ComboBox
comboBox = new ComboBox
224
private
ComboBox
.ComboBoxAccessibleObject GetComboBoxAccessibleObject(
ComboBox
comboBox)
226
return comboBox.AccessibilityObject as
ComboBox
.ComboBoxAccessibleObject;
232
using
ComboBox
control = new();
260
using
ComboBox
comboBox = new();
273
using
ComboBox
comboBox = new();
299
using
ComboBox
comboBox = new();
301
ComboBox
.ComboBoxAccessibleObject accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
311
using
ComboBox
comboBox = new() { AccessibleDefaultActionDescription = "Test" };
320
using
ComboBox
comboBox = new();
329
using
ComboBox
comboBox = new() { DropDownStyle = ComboBoxStyle.Simple };
348
using
ComboBox
comboBox = new() { DropDownStyle = style };
360
using
ComboBox
comboBox = new() { DropDownStyle = style };
371
using
ComboBox
comboBox = new();
384
using
ComboBox
comboBox = new() { DropDownStyle = ComboBoxStyle.Simple };
402
using
ComboBox
comboBox = new() { DropDownStyle = style };
416
using
ComboBox
comboBox = CreateComboBoxWithItems();
419
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
432
using
ComboBox
comboBox = CreateComboBoxWithItems();
435
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
448
using
ComboBox
comboBox = CreateComboBoxWithItems();
451
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
452
ComboBox
.ObjectCollection.Entry item = comboBox.Items.InnerList[0];
466
using
ComboBox
comboBox = CreateComboBoxWithItems();
473
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
474
ComboBox
.ObjectCollection.Entry item = comboBox.Items.InnerList[0];
488
private
ComboBox
CreateComboBoxWithItems()
490
ComboBox
comboBox = new();
505
private void InitComboBoxItemsAccessibleObjects(
ComboBox
comboBox)
507
var listAccessibleObject = (
ComboBox
.ComboBoxChildListUiaProvider)comboBox.ChildListAccessibleObject;
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (29)
10
using static System.Windows.Forms.
ComboBox
;
11
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
25
using
ComboBox
control = new();
66
using
ComboBox
control = new()
89
using
ComboBox
comboBox = new ComboBox
128
using
ComboBox
comboBox = new ComboBox
173
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
186
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
197
using
ComboBox
comboBox = new();
216
using
ComboBox
comboBox = new();
246
using
ComboBox
comboBox = new();
295
using
ComboBox
comboBox = new();
386
using
ComboBox
comboBox = new();
514
using
ComboBox
comboBox = GetComboBoxWithMaxItems(comboBoxStyle);
533
using
ComboBox
comboBox = GetComboBoxWithMaxHeight(comboBoxStyle);
552
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
566
using
ComboBox
comboBox = GetComboBoxWithMaxSize(ComboBoxStyle.Simple);
587
using
ComboBox
comboBox = GetComboBoxWithMaxItems(comboBoxStyle);
606
using
ComboBox
comboBox = GetComboBoxWithMaxHeight(comboBoxStyle);
625
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
639
using
ComboBox
comboBox = GetComboBoxWithMaxSize(ComboBoxStyle.Simple);
653
private
ComboBox
GetComboBox(ComboBoxStyle comboBoxStyle)
655
ComboBox
comboBox = new ComboBox
667
private
ComboBox
GetComboBoxWithMaxItems(ComboBoxStyle comboBoxStyle)
669
ComboBox
comboBox = GetComboBox(comboBoxStyle);
677
private
ComboBox
GetComboBoxWithMaxHeight(ComboBoxStyle comboBoxStyle)
679
ComboBox
comboBox = GetComboBox(comboBoxStyle);
686
private
ComboBox
GetComboBoxWithMaxSize(ComboBoxStyle comboBoxStyle)
688
ComboBox
comboBox = GetComboBox(comboBoxStyle);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
22
typeof(
ComboBox
),
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (2)
31
using
ComboBox
comboBox = new();
46
using
ComboBox
comboBox = new();
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (8)
53
using
ComboBox
comboBox = new();
68
using
ComboBox
comboBox = new();
87
using
ComboBox
comboBox = new();
114
using
ComboBox
comboBox = new();
130
using
ComboBox
comboBox = new();
168
using
ComboBox
comboBox = new();
196
using
ComboBox
comboBox = new();
240
using
ComboBox
comboBox = new();
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
42
ComboBox
comboBox = new()
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (7)
39
using
ComboBox
comboBox = new ComboBox
64
using
ComboBox
comboBox = new ComboBox
93
using
ComboBox
comboBox = new ComboBox
110
using
ComboBox
comboBox = new ComboBox
123
private
ComboBox
.ComboBoxAccessibleObject GetComboBoxAccessibleObject(
ComboBox
comboBox)
125
return comboBox.AccessibilityObject as
ComboBox
.ComboBoxAccessibleObject;
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (7)
42
using
ComboBox
comboBox = new ComboBox
88
using
ComboBox
comboBox = new ComboBox
103
? ((
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject).DropDownButtonUiaProvider
115
using
ComboBox
comboBox = new ComboBox
131
using
ComboBox
comboBox = new ComboBox
147
using
ComboBox
comboBox = new ComboBox
161
using
ComboBox
comboBox = new();
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (3)
34
using
ComboBox
comboBox = new ComboBox
63
using
ComboBox
comboBox = new ComboBox
99
using
ComboBox
comboBox = new()
System\Windows\Forms\ComboBox.ComboBoxChildNativeWindowTests.cs (3)
13
using
ComboBox
comboBox = new() { DropDownStyle = ComboBoxStyle.DropDown };
17
Type childWindowTypeEnum = typeof(
ComboBox
).GetNestedType("ChildWindowType", Reflection.BindingFlags.NonPublic);
22
Assert.True(childNativeWindow.TestAccessor.Dynamic.GetChildAccessibleObject() is
ComboBox
.ChildAccessibleObject);
System\Windows\Forms\ComboBox.ComboBoxChildTextUiaProviderTests.cs (3)
29
using
ComboBox
comboBox = new ComboBox
54
using
ComboBox
comboBox = new ComboBox
68
AccessibleObject expectedItem = ((
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject).DropDownButtonUiaProvider;
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (107)
22
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
27
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
37
Assert.Throws<ArgumentNullException>(() => new
ComboBox
.ComboBoxUiaTextProvider(null));
47
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
48
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
63
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
64
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
77
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
79
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
93
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
94
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
109
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
110
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
125
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
127
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
143
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
144
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
159
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
161
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
179
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
180
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
192
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
193
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
207
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
209
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
227
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
228
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
247
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
248
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
261
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
263
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
285
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
289
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
309
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
312
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
347
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
351
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
370
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
373
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
390
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
392
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
410
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
411
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
436
using
ComboBox
comboBox = new() { Size = size, DropDownStyle = dropdownStyle };
440
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
465
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
468
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
502
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
506
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
542
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
545
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
576
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
578
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
594
using
ComboBox
comboBox = new ComboBox() { DropDownStyle = dropDownStyle, Size = new Size(250, 100) };
595
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
625
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
629
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
645
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
648
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
662
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
666
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
679
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
682
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
695
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
697
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
711
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
712
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
727
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
729
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
747
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
748
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
781
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
785
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
823
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
826
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
849
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
853
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
869
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
872
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
890
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
891
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
914
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
916
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
932
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
933
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
951
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
955
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
982
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
985
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1012
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
1016
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1043
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1047
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1064
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1067
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1081
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1083
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1100
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1101
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1113
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1115
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1127
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1129
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1151
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
1155
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1172
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1176
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (68)
8
using static System.Windows.Forms.
ComboBox
;
9
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
20
using
ComboBox
comboBox = new();
43
using
ComboBox
comboBox = new();
68
using
ComboBox
comboBox = new();
89
using
ComboBox
comboBox = new();
106
using
ComboBox
comboBox = new ComboBox
127
using
ComboBox
comboBox = new();
153
using
ComboBox
comboBox = new ComboBox
186
using
ComboBox
comboBox = new ComboBox
218
using
ComboBox
comboBox = new();
241
using
ComboBox
comboBox = new();
261
using
ComboBox
comboBox = new();
286
using
ComboBox
comboBox = new();
309
using
ComboBox
comboBox = new ComboBox
340
using
ComboBox
comboBox = new ComboBox
370
using
ComboBox
comboBox = new();
386
using
ComboBox
comboBox = new ComboBox
407
using
ComboBox
comboBox = new();
429
using
ComboBox
comboBox = new();
454
using
ComboBox
comboBox = new ComboBox
475
using
ComboBox
comboBox = new();
499
using
ComboBox
comboBox = new();
527
using
ComboBox
comboBox = new();
544
using
ComboBox
comboBox = new();
561
using
ComboBox
comboBox = new();
578
using
ComboBox
comboBox = new();
598
using
ComboBox
comboBox = new();
622
using
ComboBox
comboBox = new();
647
using
ComboBox
comboBox = new();
676
using
ComboBox
comboBox = new();
702
using
ComboBox
comboBox = new ComboBox
733
using
ComboBox
comboBox = new ComboBox
765
using
ComboBox
comboBox = new();
782
using
ComboBox
comboBox = new();
799
using
ComboBox
comboBox = new();
816
using
ComboBox
comboBox = new ComboBox
837
using
ComboBox
comboBox = new();
859
using
ComboBox
comboBox = new();
883
using
ComboBox
comboBox = new();
900
using
ComboBox
comboBox = new();
917
using
ComboBox
comboBox = new ComboBox
938
using
ComboBox
comboBox = new();
962
using
ComboBox
comboBox = new();
985
using
ComboBox
comboBox = new();
1016
using
ComboBox
comboBox = new();
1038
using
ComboBox
comboBox = new();
1062
using
ComboBox
comboBox = new();
1083
using
ComboBox
comboBox = new();
1107
using
ComboBox
comboBox = new();
1132
using
ComboBox
comboBox = new();
1152
using
ComboBox
comboBox = new();
1169
using
ComboBox
comboBox = new();
1186
using
ComboBox
comboBox = new();
1214
using
ComboBox
comboBox = new();
1245
using
ComboBox
comboBox = new();
1266
using
ComboBox
comboBox = new();
1289
using
ComboBox
comboBox = new();
1310
using
ComboBox
comboBox = new();
1329
using
ComboBox
comboBox = new();
1346
using
ComboBox
comboBox = new();
1363
using
ComboBox
comboBox = new();
1384
using
ComboBox
comboBox = new();
1417
using
ComboBox
comboBox = new();
1453
using
ComboBox
comboBox = new();
1466
using
ComboBox
comboBox = new();
1479
using
ComboBox
comboBox = new();
1489
private static ComboBoxAccessibleObject GetComboBoxAccessibleObject(
ComboBox
comboBox)
System\Windows\Forms\ComboBoxTests.cs (84)
12
using static System.Windows.Forms.
ComboBox
;
161
using
ComboBox
control = new();
175
using
ComboBox
control = new()
198
using
ComboBox
control = new();
230
using
ComboBox
control = new();
246
using
ComboBox
control = new();
281
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.BackColor)];
282
using
ComboBox
control = new();
297
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.BackColor)];
298
using
ComboBox
control = new();
313
using
ComboBox
control = new();
402
using
ComboBox
control = new();
428
using
ComboBox
control1 = new();
432
using
ComboBox
control2 = new() { AutoCompleteSource = AutoCompleteSource.ListItems };
437
using
ComboBox
control3 = new();
443
using
ComboBox
control4 = new();
451
using
ComboBox
control = new();
503
using
ComboBox
control = new()
519
using
ComboBox
control = new();
562
using
ComboBox
control = new()
578
using
ComboBox
control = new();
614
using
ComboBox
control = new();
655
using
ComboBox
control = new();
826
using
ComboBox
control = new()
856
using
ComboBox
control = new()
879
using
ComboBox
control = new();
888
using
ComboBox
control = new();
895
using
ComboBox
control = new()
918
using
ComboBox
control = new();
946
using
ComboBox
control = new();
982
using
ComboBox
control = new();
1008
using
ComboBox
control = new();
1060
using
ComboBox
control = new()
1086
using
ComboBox
control = new();
1114
using
ComboBox
control = new();
1149
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.ForeColor)];
1150
using
ComboBox
control = new();
1165
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.ForeColor)];
1166
using
ComboBox
control = new();
1182
using
ComboBox
control = new()
1199
using
ComboBox
control = new();
1227
using
ComboBox
control = new();
1265
using
ComboBox
control = new()
1281
using
ComboBox
control = new();
1317
using
ComboBox
control = new();
1327
using
ComboBox
control = new();
1349
using
ComboBox
control = new()
1371
using
ComboBox
control = new();
1383
using
ComboBox
control = new();
1397
using
ComboBox
control = new();
1409
using
ComboBox
control = new();
1423
using
ComboBox
control = new();
1436
using
ComboBox
control = new();
1499
using
ComboBox
controlWithNoItems = new();
1506
using
ComboBox
controlWithItems = new()
1574
public void ComboBox_FindString_Invoke_ReturnsExpected(
ComboBox
control, string s, int startIndex, int expected)
1590
using
ComboBox
control = new();
1605
using
ComboBox
controlWithNoItems = new();
1613
using
ComboBox
controlWithItems = new()
1693
public void ComboBox_FindStringExact_Invoke_ReturnsExpected(
ComboBox
control, string s, int startIndex, bool ignoreCase, int expected)
1714
using
ComboBox
control = new();
2157
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(100, 50) };
2261
using
ComboBox
comboBox = new();
2427
using
ComboBox
comboBox = new();
2449
using
ComboBox
comboBox = new();
2466
using
ComboBox
comboBox = new();
2481
using
ComboBox
comboBox = new();
2565
using
ComboBox
comboBox = new();
2624
using
ComboBox
control = CreateComboBox(drawMode, expected);
2628
private
ComboBox
CreateComboBox(DrawMode drawMode, int itemHeight = 15)
2630
ComboBox
control = new()
2652
using
ComboBox
control = CreateComboBox(DrawMode.OwnerDrawVariable);
2673
using
ComboBox
control = new();
2684
using
ComboBox
control = new();
2698
using
ComboBox
control = new();
2710
using
ComboBox
control = new();
2722
using
ComboBox
comboBox = new();
2745
private void InitializeItems(
ComboBox
comboBox, int numItems)
2783
public AutomationEventCountingComboBoxAccessibleObject(
ComboBox
owner) : base(owner)
2797
public AutomationEventCountingComboBoxChildEditUiaProvider(
ComboBox
owner, HWND childEditControlhandle) : base(owner, childEditControlhandle)
System.Windows.Forms.UI.IntegrationTests (2)
ComboBoxTests.cs (1)
16
await RunSingleControlTestAsync<
ComboBox
>((form, comboBox) =>
PropertyGridTests.cs (1)
302
using
ComboBox
comboBox1 = new();
TestPassApp (3)
CommonControl1.Designer.cs (2)
759
private System.Windows.Forms.
ComboBox
comboBox1;
761
private System.Windows.Forms.
ComboBox
comboBox2;
DataBindingExample.Designer.cs (1)
294
private System.Windows.Forms.
ComboBox
comboBox1;
TrimTest (1)
Form1.Designer.cs (1)
116
private
ComboBox
comboBox1;
WinFormsControlsTest (21)
Calendar.Designer.cs (1)
268
private System.Windows.Forms.
ComboBox
daysOfWeekComboBox;
CollectionEditors.Designer.cs (1)
125
private System.Windows.Forms.
ComboBox
comboBox1;
ComboBoxes.Designer.cs (13)
294
private System.Windows.Forms.
ComboBox
comboBox1;
295
private System.Windows.Forms.
ComboBox
comboBox2;
296
private System.Windows.Forms.
ComboBox
comboBox3;
297
private System.Windows.Forms.
ComboBox
comboBox4;
298
private System.Windows.Forms.
ComboBox
comboBox5;
299
private System.Windows.Forms.
ComboBox
comboBox6;
300
private System.Windows.Forms.
ComboBox
comboBox7;
301
private System.Windows.Forms.
ComboBox
comboBox8;
302
private System.Windows.Forms.
ComboBox
comboBox9;
303
private System.Windows.Forms.
ComboBox
comboBox10;
304
private System.Windows.Forms.
ComboBox
comboBox11;
305
private System.Windows.Forms.
ComboBox
comboBox12;
306
private System.Windows.Forms.
ComboBox
dataBoundComboBox;
ComboBoxesWithScrollBars.cs (2)
129
ComboBox
control = (
ComboBox
)sender;
ComboBoxesWithScrollBars.Designer.cs (3)
379
private System.Windows.Forms.
ComboBox
comboBox1;
380
private System.Windows.Forms.
ComboBox
comboBox2;
381
private System.Windows.Forms.
ComboBox
comboBox3;
MultipleControls.Designer.cs (1)
341
private System.Windows.Forms.
ComboBox
comboBox1;