12 types derived from ComboBox
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
9
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.Tests (8)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
473
private class DifferentHeightComboBox :
ComboBox
System\Windows\Forms\ComboBoxTests.cs (7)
320
private class TestComboBox :
ComboBox
346
private class TestableComboBox :
ComboBox
706
public class CustomComboBox :
ComboBox
2753
private class OwnerDrawComboBox :
ComboBox
2769
private class AutomationEventCountingComboBox :
ComboBox
2809
private class SubComboBox :
ComboBox
2941
private class ComboBoxWithSelectCounter :
ComboBox
295 instantiations of ComboBox
Accessibility_Core_App (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
();
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)
277
_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 (4)
System\Windows\Forms\Design\ComboBoxDesignerTests.cs (4)
12
using ComboBox comboBox =
new
();
22
using ComboBox comboBox =
new
();
32
using ComboBox comboBox =
new
();
48
using ComboBox comboBox =
new
();
System.Windows.Forms.Interop.Tests (1)
AccessibleObjectTests.cs (1)
444
using ComboBox control = new
ComboBox
System.Windows.Forms.Tests (260)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (1)
2650
using ComboBox comboBox =
new
();
System\Windows\Forms\AccessibleObjects\ComboBox.ChildAccessibleObjectTests.cs (2)
17
using ComboBox control =
new
();
32
using ComboBox control =
new
();
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (22)
16
using ComboBox control =
new
();
34
using ComboBox control = new
ComboBox
57
using ComboBox control = new
ComboBox
83
using ComboBox comboBox = new
ComboBox
100
using ComboBox control =
new
();
111
using ComboBox comboBox =
new
();
147
using ComboBox comboBox = new
ComboBox
183
using ComboBox comboBox = new
ComboBox
210
using ComboBox comboBox = new
ComboBox
230
using ComboBox control =
new
();
258
using ComboBox comboBox =
new
();
271
using ComboBox comboBox =
new
();
297
using ComboBox comboBox =
new
();
309
using ComboBox comboBox =
new
() { AccessibleDefaultActionDescription = "Test" };
318
using ComboBox comboBox =
new
();
327
using ComboBox comboBox =
new
() { DropDownStyle = ComboBoxStyle.Simple };
346
using ComboBox comboBox =
new
() { DropDownStyle = style };
358
using ComboBox comboBox =
new
() { DropDownStyle = style };
369
using ComboBox comboBox =
new
();
382
using ComboBox comboBox =
new
() { DropDownStyle = ComboBoxStyle.Simple };
400
using ComboBox comboBox =
new
() { DropDownStyle = style };
488
ComboBox comboBox =
new
();
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (10)
23
using ComboBox control =
new
();
64
using ComboBox control =
new
()
87
using ComboBox comboBox = new
ComboBox
126
using ComboBox comboBox = new
ComboBox
195
using ComboBox comboBox =
new
();
214
using ComboBox comboBox =
new
();
244
using ComboBox comboBox =
new
();
293
using ComboBox comboBox =
new
();
384
using ComboBox comboBox =
new
();
653
ComboBox comboBox = new
ComboBox
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (2)
30
using ComboBox comboBox =
new
();
45
using ComboBox comboBox =
new
();
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (8)
51
using ComboBox comboBox =
new
();
66
using ComboBox comboBox =
new
();
85
using ComboBox comboBox =
new
();
112
using ComboBox comboBox =
new
();
128
using ComboBox comboBox =
new
();
166
using ComboBox comboBox =
new
();
194
using ComboBox comboBox =
new
();
238
using ComboBox comboBox =
new
();
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
40
ComboBox comboBox =
new
()
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
176
{ new
ComboBox
(), new string[] { "DataSource: Object", "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (4)
37
using ComboBox comboBox = new
ComboBox
62
using ComboBox comboBox = new
ComboBox
91
using ComboBox comboBox = new
ComboBox
108
using ComboBox comboBox = new
ComboBox
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (6)
40
using ComboBox comboBox = new
ComboBox
86
using ComboBox comboBox = new
ComboBox
113
using ComboBox comboBox = new
ComboBox
129
using ComboBox comboBox = new
ComboBox
145
using ComboBox comboBox = new
ComboBox
159
using ComboBox comboBox =
new
();
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (3)
32
using ComboBox comboBox = new
ComboBox
61
using ComboBox comboBox = new
ComboBox
97
using ComboBox comboBox =
new
()
System\Windows\Forms\ComboBox.ComboBoxChildNativeWindowTests.cs (1)
11
using ComboBox comboBox =
new
() { DropDownStyle = ComboBoxStyle.DropDown };
System\Windows\Forms\ComboBox.ComboBoxChildTextUiaProviderTests.cs (2)
27
using ComboBox comboBox = new
ComboBox
52
using ComboBox comboBox = new
ComboBox
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (53)
20
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
45
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
61
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
75
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
91
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
107
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
123
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
141
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
157
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
177
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
190
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
205
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
225
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
245
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
259
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
283
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
307
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
345
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
368
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
388
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
408
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
434
using ComboBox comboBox =
new
() { Size = size, DropDownStyle = dropdownStyle };
463
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
500
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
540
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
574
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
592
using ComboBox comboBox = new
ComboBox
() { DropDownStyle = dropDownStyle, Size = new Size(250, 100) };
623
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
643
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
660
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
677
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
693
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
709
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
725
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
745
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
779
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
821
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
847
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
867
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = size };
888
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
912
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
930
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
949
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
980
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
1010
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle };
1041
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1062
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1079
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1098
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1111
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1125
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1149
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(width, height) };
1170
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (65)
18
using ComboBox comboBox =
new
();
41
using ComboBox comboBox =
new
();
66
using ComboBox comboBox =
new
();
87
using ComboBox comboBox =
new
();
104
using ComboBox comboBox = new
ComboBox
125
using ComboBox comboBox =
new
();
151
using ComboBox comboBox = new
ComboBox
184
using ComboBox comboBox = new
ComboBox
216
using ComboBox comboBox =
new
();
239
using ComboBox comboBox =
new
();
259
using ComboBox comboBox =
new
();
284
using ComboBox comboBox =
new
();
307
using ComboBox comboBox = new
ComboBox
338
using ComboBox comboBox = new
ComboBox
368
using ComboBox comboBox =
new
();
384
using ComboBox comboBox = new
ComboBox
405
using ComboBox comboBox =
new
();
427
using ComboBox comboBox =
new
();
452
using ComboBox comboBox = new
ComboBox
473
using ComboBox comboBox =
new
();
497
using ComboBox comboBox =
new
();
525
using ComboBox comboBox =
new
();
542
using ComboBox comboBox =
new
();
559
using ComboBox comboBox =
new
();
576
using ComboBox comboBox =
new
();
596
using ComboBox comboBox =
new
();
620
using ComboBox comboBox =
new
();
645
using ComboBox comboBox =
new
();
674
using ComboBox comboBox =
new
();
700
using ComboBox comboBox = new
ComboBox
731
using ComboBox comboBox = new
ComboBox
763
using ComboBox comboBox =
new
();
780
using ComboBox comboBox =
new
();
797
using ComboBox comboBox =
new
();
814
using ComboBox comboBox = new
ComboBox
835
using ComboBox comboBox =
new
();
857
using ComboBox comboBox =
new
();
881
using ComboBox comboBox =
new
();
898
using ComboBox comboBox =
new
();
915
using ComboBox comboBox = new
ComboBox
936
using ComboBox comboBox =
new
();
960
using ComboBox comboBox =
new
();
983
using ComboBox comboBox =
new
();
1014
using ComboBox comboBox =
new
();
1036
using ComboBox comboBox =
new
();
1060
using ComboBox comboBox =
new
();
1081
using ComboBox comboBox =
new
();
1105
using ComboBox comboBox =
new
();
1130
using ComboBox comboBox =
new
();
1150
using ComboBox comboBox =
new
();
1167
using ComboBox comboBox =
new
();
1184
using ComboBox comboBox =
new
();
1212
using ComboBox comboBox =
new
();
1243
using ComboBox comboBox =
new
();
1264
using ComboBox comboBox =
new
();
1287
using ComboBox comboBox =
new
();
1308
using ComboBox comboBox =
new
();
1327
using ComboBox comboBox =
new
();
1344
using ComboBox comboBox =
new
();
1361
using ComboBox comboBox =
new
();
1382
using ComboBox comboBox =
new
();
1415
using ComboBox comboBox =
new
();
1451
using ComboBox comboBox =
new
();
1464
using ComboBox comboBox =
new
();
1477
using ComboBox comboBox =
new
();
System\Windows\Forms\ComboBoxTests.cs (79)
159
using ComboBox control =
new
();
173
using ComboBox control =
new
()
196
using ComboBox control =
new
();
228
using ComboBox control =
new
();
244
using ComboBox control =
new
();
280
using ComboBox control =
new
();
296
using ComboBox control =
new
();
311
using ComboBox control =
new
();
400
using ComboBox control =
new
();
426
using ComboBox control1 =
new
();
430
using ComboBox control2 =
new
() { AutoCompleteSource = AutoCompleteSource.ListItems };
435
using ComboBox control3 =
new
();
441
using ComboBox control4 =
new
();
449
using ComboBox control =
new
();
501
using ComboBox control =
new
()
517
using ComboBox control =
new
();
560
using ComboBox control =
new
()
576
using ComboBox control =
new
();
612
using ComboBox control =
new
();
653
using ComboBox control =
new
();
824
using ComboBox control =
new
()
854
using ComboBox control =
new
()
877
using ComboBox control =
new
();
886
using ComboBox control =
new
();
893
using ComboBox control =
new
()
916
using ComboBox control =
new
();
944
using ComboBox control =
new
();
980
using ComboBox control =
new
();
1006
using ComboBox control =
new
();
1058
using ComboBox control =
new
()
1084
using ComboBox control =
new
();
1112
using ComboBox control =
new
();
1148
using ComboBox control =
new
();
1164
using ComboBox control =
new
();
1180
using ComboBox control =
new
()
1197
using ComboBox control =
new
();
1225
using ComboBox control =
new
();
1263
using ComboBox control =
new
()
1279
using ComboBox control =
new
();
1315
using ComboBox control =
new
();
1325
using ComboBox control =
new
();
1347
using ComboBox control =
new
()
1369
using ComboBox control =
new
();
1381
using ComboBox control =
new
();
1395
using ComboBox control =
new
();
1407
using ComboBox control =
new
();
1421
using ComboBox control =
new
();
1434
using ComboBox control =
new
();
1493
yield return new object[] { new
ComboBox
(), null, startIndex, -1 };
1494
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, -1 };
1495
yield return new object[] { new
ComboBox
(), "s", startIndex, -1 };
1497
using ComboBox controlWithNoItems =
new
();
1499
yield return new object[] { new
ComboBox
(), null, startIndex, -1 };
1500
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, -1 };
1501
yield return new object[] { new
ComboBox
(), "s", startIndex, -1 };
1504
using ComboBox controlWithItems =
new
()
1588
using ComboBox control =
new
();
1599
yield return new object[] { new
ComboBox
(), null, startIndex, ignoreCase, -1 };
1600
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, ignoreCase, -1 };
1601
yield return new object[] { new
ComboBox
(), "s", startIndex, ignoreCase, -1 };
1603
using ComboBox controlWithNoItems =
new
();
1605
yield return new object[] { new
ComboBox
(), null, startIndex, ignoreCase, -1 };
1606
yield return new object[] { new
ComboBox
(), string.Empty, startIndex, ignoreCase, -1 };
1607
yield return new object[] { new
ComboBox
(), "s", startIndex, ignoreCase, -1 };
1611
using ComboBox controlWithItems =
new
()
1712
using ComboBox control =
new
();
2155
using ComboBox comboBox =
new
() { DropDownStyle = dropDownStyle, Size = new(100, 50) };
2259
using ComboBox comboBox =
new
();
2425
using ComboBox comboBox =
new
();
2447
using ComboBox comboBox =
new
();
2464
using ComboBox comboBox =
new
();
2479
using ComboBox comboBox =
new
();
2563
using ComboBox comboBox =
new
();
2628
ComboBox control =
new
()
2671
using ComboBox control =
new
();
2682
using ComboBox control =
new
();
2696
using ComboBox control =
new
();
2708
using ComboBox control =
new
();
2720
using ComboBox comboBox =
new
();
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
302
using ComboBox comboBox1 =
new
();
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
();
556 references to ComboBox
Accessibility_Core_App (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;
DesignSurface (2)
MainForm.cs (2)
200
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 (69)
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 (8)
28
public FlatComboAdapter(
ComboBox
comboBox, bool shouldRedrawAsSmallButton)
62
public bool IsValid(
ComboBox
combo)
67
public virtual void DrawPopUpCombo(
ComboBox
comboBox, Graphics g)
112
public virtual void DrawFlatCombo(
ComboBox
comboBox, Graphics g)
161
protected virtual void DrawFlatComboDropDown(
ComboBox
comboBox, Graphics g, Rectangle dropDownRect)
189
protected virtual Color GetOuterBorderColor(
ComboBox
comboBox)
192
protected virtual Color GetPopupOuterBorderColor(
ComboBox
comboBox, bool focused)
202
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;
1261
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, shouldRedrawAsSmallButton: 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 (5)
System\Windows\Forms\Design\ComboBoxDesigner.cs (2)
22
public override
ComboBox
Control => (
ComboBox
)Component;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
22
private
ComboBox
_columnTypesCombo;
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.Tests (7)
EnsureEditorsTests.cs (2)
85
[InlineData(typeof(
ComboBox
), "AutoCompleteCustomSource", typeof(ListControlStringCollectionEditor))]
86
[InlineData(typeof(
ComboBox
), "Items", typeof(ListControlStringCollectionEditor))]
System\Windows\Forms\Design\ComboBoxDesignerTests.cs (4)
12
using
ComboBox
comboBox = new();
22
using
ComboBox
comboBox = new();
32
using
ComboBox
comboBox = new();
48
using
ComboBox
comboBox = new();
System\Windows\Forms\Design\EventHandlerServiceTests.cs (1)
100
service.PopHandler(typeof(
ComboBox
));
System.Windows.Forms.Interop.Tests (2)
AccessibleObjectTests.cs (2)
444
using
ComboBox
control = new ComboBox
449
ComboBox
.ComboBoxAccessibleObject accessibleObject = new(control);
System.Windows.Forms.Tests (441)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (3)
2650
using
ComboBox
comboBox = new();
2697
if (type.BaseType != typeof(AccessibleObject) && type.BaseType != typeof(
ComboBox
.ChildAccessibleObject))
2702
if (type == typeof(
ComboBox
.ChildAccessibleObject))
System\Windows\Forms\AccessibleObjects\ComboBox.ChildAccessibleObjectTests.cs (5)
11
Assert.Throws<ArgumentNullException>(() => new
ComboBox
.ChildAccessibleObject(null, IntPtr.Zero));
17
using
ComboBox
control = new();
20
var accessibleObject = new
ComboBox
.ChildAccessibleObject(control, IntPtr.Zero);
32
using
ComboBox
control = new();
36
var accessibleObject = new
ComboBox
.ChildAccessibleObject(control, IntPtr.Zero);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (41)
16
using
ComboBox
control = new();
23
ComboBox
.ComboBoxAccessibleObject accessibleObject = new(control);
34
using
ComboBox
control = new ComboBox
57
using
ComboBox
control = new ComboBox
83
using
ComboBox
comboBox = new ComboBox
100
using
ComboBox
control = new();
111
using
ComboBox
comboBox = new();
147
using
ComboBox
comboBox = new ComboBox
183
using
ComboBox
comboBox = new ComboBox
210
using
ComboBox
comboBox = new ComboBox
222
private
ComboBox
.ComboBoxAccessibleObject GetComboBoxAccessibleObject(
ComboBox
comboBox)
224
return comboBox.AccessibilityObject as
ComboBox
.ComboBoxAccessibleObject;
230
using
ComboBox
control = new();
258
using
ComboBox
comboBox = new();
271
using
ComboBox
comboBox = new();
297
using
ComboBox
comboBox = new();
299
ComboBox
.ComboBoxAccessibleObject accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
309
using
ComboBox
comboBox = new() { AccessibleDefaultActionDescription = "Test" };
318
using
ComboBox
comboBox = new();
327
using
ComboBox
comboBox = new() { DropDownStyle = ComboBoxStyle.Simple };
346
using
ComboBox
comboBox = new() { DropDownStyle = style };
358
using
ComboBox
comboBox = new() { DropDownStyle = style };
369
using
ComboBox
comboBox = new();
382
using
ComboBox
comboBox = new() { DropDownStyle = ComboBoxStyle.Simple };
400
using
ComboBox
comboBox = new() { DropDownStyle = style };
414
using
ComboBox
comboBox = CreateComboBoxWithItems();
417
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
430
using
ComboBox
comboBox = CreateComboBoxWithItems();
433
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
446
using
ComboBox
comboBox = CreateComboBoxWithItems();
449
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
450
ComboBox
.ObjectCollection.Entry item = comboBox.Items.InnerList[0];
464
using
ComboBox
comboBox = CreateComboBoxWithItems();
471
var accessibleObject = (
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject;
472
ComboBox
.ObjectCollection.Entry item = comboBox.Items.InnerList[0];
486
private
ComboBox
CreateComboBoxWithItems()
488
ComboBox
comboBox = new();
503
private void InitComboBoxItemsAccessibleObjects(
ComboBox
comboBox)
505
var listAccessibleObject = (
ComboBox
.ComboBoxChildListUiaProvider)comboBox.ChildListAccessibleObject;
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (98)
8
using static System.Windows.Forms.
ComboBox
;
9
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
23
using
ComboBox
control = new();
31
ComboBox
.ComboBoxAccessibleObject comboBoxAccessibleObject = (
ComboBox
.ComboBoxAccessibleObject)control.AccessibilityObject;
37
ComboBox
.ComboBoxItemAccessibleObject item1AccessibleObject = comboBoxAccessibleObject.ItemAccessibleObjects.GetComboBoxItemAccessibleObject(control.Items.InnerList[0]);
38
ComboBox
.ComboBoxItemAccessibleObject item2AccessibleObject = comboBoxAccessibleObject.ItemAccessibleObjects.GetComboBoxItemAccessibleObject(control.Items.InnerList[1]);
39
ComboBox
.ComboBoxItemAccessibleObject item3AccessibleObject = comboBoxAccessibleObject.ItemAccessibleObjects.GetComboBoxItemAccessibleObject(control.Items.InnerList[2]);
64
using
ComboBox
control = new()
70
ComboBox
.ComboBoxAccessibleObject accessibleObject = Assert.IsType<
ComboBox
.ComboBoxAccessibleObject>(control.AccessibilityObject);
74
ComboBox
.ComboBoxItemAccessibleObject item = accessibleObject.ItemAccessibleObjects.GetComboBoxItemAccessibleObject(new Entry(person));
75
AccessibleObject itemAccessibleObject = Assert.IsType<
ComboBox
.ComboBoxItemAccessibleObject>(item);
87
using
ComboBox
comboBox = new ComboBox
95
ComboBoxItemAccessibleObjectCollection itemAccessibleObjects = ((
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject).ItemAccessibleObjects;
97
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
103
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
110
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
126
using
ComboBox
comboBox = new ComboBox
134
ComboBoxItemAccessibleObjectCollection itemAccessibleObjects = ((
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject).ItemAccessibleObjects;
136
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
143
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem3
151
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
159
ComboBox
.ComboBoxItemAccessibleObject comboBoxItemPrevious = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
171
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
184
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
195
using
ComboBox
comboBox = new();
214
using
ComboBox
comboBox = new();
244
using
ComboBox
comboBox = new();
293
using
ComboBox
comboBox = new();
384
using
ComboBox
comboBox = new();
512
using
ComboBox
comboBox = GetComboBoxWithMaxItems(comboBoxStyle);
514
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
516
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
518
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
531
using
ComboBox
comboBox = GetComboBoxWithMaxHeight(comboBoxStyle);
533
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
535
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
537
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
550
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
552
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
554
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
564
using
ComboBox
comboBox = GetComboBoxWithMaxSize(ComboBoxStyle.Simple);
566
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
568
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
570
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
585
using
ComboBox
comboBox = GetComboBoxWithMaxItems(comboBoxStyle);
587
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
589
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
591
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
604
using
ComboBox
comboBox = GetComboBoxWithMaxHeight(comboBoxStyle);
606
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
608
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
610
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
623
using
ComboBox
comboBox = GetComboBox(comboBoxStyle);
625
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
627
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
637
using
ComboBox
comboBox = GetComboBoxWithMaxSize(ComboBoxStyle.Simple);
639
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem1 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBox
641
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem2 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem1
643
ComboBox
.ComboBoxItemAccessibleObject comboBoxItem3 = (
ComboBox
.ComboBoxItemAccessibleObject)comboBoxItem2
651
private
ComboBox
GetComboBox(ComboBoxStyle comboBoxStyle)
653
ComboBox
comboBox = new ComboBox
665
private
ComboBox
GetComboBoxWithMaxItems(ComboBoxStyle comboBoxStyle)
667
ComboBox
comboBox = GetComboBox(comboBoxStyle);
675
private
ComboBox
GetComboBoxWithMaxHeight(ComboBoxStyle comboBoxStyle)
677
ComboBox
comboBox = GetComboBox(comboBoxStyle);
684
private
ComboBox
GetComboBoxWithMaxSize(ComboBoxStyle comboBoxStyle)
686
ComboBox
comboBox = GetComboBox(comboBoxStyle);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
20
typeof(
ComboBox
),
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (2)
30
using
ComboBox
comboBox = new();
45
using
ComboBox
comboBox = new();
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (8)
51
using
ComboBox
comboBox = new();
66
using
ComboBox
comboBox = new();
85
using
ComboBox
comboBox = new();
112
using
ComboBox
comboBox = new();
128
using
ComboBox
comboBox = new();
166
using
ComboBox
comboBox = new();
194
using
ComboBox
comboBox = new();
238
using
ComboBox
comboBox = new();
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
40
ComboBox
comboBox = new()
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (7)
37
using
ComboBox
comboBox = new ComboBox
62
using
ComboBox
comboBox = new ComboBox
91
using
ComboBox
comboBox = new ComboBox
108
using
ComboBox
comboBox = new ComboBox
121
private
ComboBox
.ComboBoxAccessibleObject GetComboBoxAccessibleObject(
ComboBox
comboBox)
123
return comboBox.AccessibilityObject as
ComboBox
.ComboBoxAccessibleObject;
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (7)
40
using
ComboBox
comboBox = new ComboBox
86
using
ComboBox
comboBox = new ComboBox
101
? ((
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject).DropDownButtonUiaProvider
113
using
ComboBox
comboBox = new ComboBox
129
using
ComboBox
comboBox = new ComboBox
145
using
ComboBox
comboBox = new ComboBox
159
using
ComboBox
comboBox = new();
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (3)
32
using
ComboBox
comboBox = new ComboBox
61
using
ComboBox
comboBox = new ComboBox
97
using
ComboBox
comboBox = new()
System\Windows\Forms\ComboBox.ComboBoxChildNativeWindowTests.cs (3)
11
using
ComboBox
comboBox = new() { DropDownStyle = ComboBoxStyle.DropDown };
15
Type childWindowTypeEnum = typeof(
ComboBox
).GetNestedType("ChildWindowType", Reflection.BindingFlags.NonPublic);
19
Assert.True(childNativeWindow.TestAccessor().Dynamic.GetChildAccessibleObject() is
ComboBox
.ChildAccessibleObject);
System\Windows\Forms\ComboBox.ComboBoxChildTextUiaProviderTests.cs (3)
27
using
ComboBox
comboBox = new ComboBox
52
using
ComboBox
comboBox = new ComboBox
66
AccessibleObject expectedItem = ((
ComboBox
.ComboBoxAccessibleObject)comboBox.AccessibilityObject).DropDownButtonUiaProvider;
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (107)
20
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
25
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
35
Assert.Throws<ArgumentNullException>(() => new
ComboBox
.ComboBoxUiaTextProvider(null));
45
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
46
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
61
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
62
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
75
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
77
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
91
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
92
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
107
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
108
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
123
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
125
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
141
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, RightToLeft = rightToLeft };
142
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
157
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
159
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
177
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
178
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
190
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
191
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
205
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
207
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
225
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
226
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
245
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
246
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
259
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
261
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
283
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
287
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
307
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
310
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
345
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
349
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
368
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
371
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
388
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
390
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
408
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
409
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
434
using
ComboBox
comboBox = new() { Size = size, DropDownStyle = dropdownStyle };
438
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
463
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
466
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
500
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
504
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
540
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
543
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
574
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
576
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
592
using
ComboBox
comboBox = new ComboBox() { DropDownStyle = dropDownStyle, Size = new Size(250, 100) };
593
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
623
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
627
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
643
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
646
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
660
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
664
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
677
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
680
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
693
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
695
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
709
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
710
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
725
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
727
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
745
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
746
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
779
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
783
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
821
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
824
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
847
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
851
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
867
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = size };
870
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
888
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
889
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
912
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
914
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
930
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
931
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
949
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
953
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
980
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
983
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1010
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle };
1014
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1041
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1045
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1062
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1065
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1079
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1081
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1098
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1099
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1111
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1113
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1125
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1127
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1149
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) };
1153
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
1170
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
1174
ComboBox
.ComboBoxUiaTextProvider provider = new(comboBox);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (68)
6
using static System.Windows.Forms.
ComboBox
;
7
using static System.Windows.Forms.
ComboBox
.ObjectCollection;
18
using
ComboBox
comboBox = new();
41
using
ComboBox
comboBox = new();
66
using
ComboBox
comboBox = new();
87
using
ComboBox
comboBox = new();
104
using
ComboBox
comboBox = new ComboBox
125
using
ComboBox
comboBox = new();
151
using
ComboBox
comboBox = new ComboBox
184
using
ComboBox
comboBox = new ComboBox
216
using
ComboBox
comboBox = new();
239
using
ComboBox
comboBox = new();
259
using
ComboBox
comboBox = new();
284
using
ComboBox
comboBox = new();
307
using
ComboBox
comboBox = new ComboBox
338
using
ComboBox
comboBox = new ComboBox
368
using
ComboBox
comboBox = new();
384
using
ComboBox
comboBox = new ComboBox
405
using
ComboBox
comboBox = new();
427
using
ComboBox
comboBox = new();
452
using
ComboBox
comboBox = new ComboBox
473
using
ComboBox
comboBox = new();
497
using
ComboBox
comboBox = new();
525
using
ComboBox
comboBox = new();
542
using
ComboBox
comboBox = new();
559
using
ComboBox
comboBox = new();
576
using
ComboBox
comboBox = new();
596
using
ComboBox
comboBox = new();
620
using
ComboBox
comboBox = new();
645
using
ComboBox
comboBox = new();
674
using
ComboBox
comboBox = new();
700
using
ComboBox
comboBox = new ComboBox
731
using
ComboBox
comboBox = new ComboBox
763
using
ComboBox
comboBox = new();
780
using
ComboBox
comboBox = new();
797
using
ComboBox
comboBox = new();
814
using
ComboBox
comboBox = new ComboBox
835
using
ComboBox
comboBox = new();
857
using
ComboBox
comboBox = new();
881
using
ComboBox
comboBox = new();
898
using
ComboBox
comboBox = new();
915
using
ComboBox
comboBox = new ComboBox
936
using
ComboBox
comboBox = new();
960
using
ComboBox
comboBox = new();
983
using
ComboBox
comboBox = new();
1014
using
ComboBox
comboBox = new();
1036
using
ComboBox
comboBox = new();
1060
using
ComboBox
comboBox = new();
1081
using
ComboBox
comboBox = new();
1105
using
ComboBox
comboBox = new();
1130
using
ComboBox
comboBox = new();
1150
using
ComboBox
comboBox = new();
1167
using
ComboBox
comboBox = new();
1184
using
ComboBox
comboBox = new();
1212
using
ComboBox
comboBox = new();
1243
using
ComboBox
comboBox = new();
1264
using
ComboBox
comboBox = new();
1287
using
ComboBox
comboBox = new();
1308
using
ComboBox
comboBox = new();
1327
using
ComboBox
comboBox = new();
1344
using
ComboBox
comboBox = new();
1361
using
ComboBox
comboBox = new();
1382
using
ComboBox
comboBox = new();
1415
using
ComboBox
comboBox = new();
1451
using
ComboBox
comboBox = new();
1464
using
ComboBox
comboBox = new();
1477
using
ComboBox
comboBox = new();
1487
private static ComboBoxAccessibleObject GetComboBoxAccessibleObject(
ComboBox
comboBox)
System\Windows\Forms\ComboBoxTests.cs (84)
10
using static System.Windows.Forms.
ComboBox
;
159
using
ComboBox
control = new();
173
using
ComboBox
control = new()
196
using
ComboBox
control = new();
228
using
ComboBox
control = new();
244
using
ComboBox
control = new();
279
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.BackColor)];
280
using
ComboBox
control = new();
295
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.BackColor)];
296
using
ComboBox
control = new();
311
using
ComboBox
control = new();
400
using
ComboBox
control = new();
426
using
ComboBox
control1 = new();
430
using
ComboBox
control2 = new() { AutoCompleteSource = AutoCompleteSource.ListItems };
435
using
ComboBox
control3 = new();
441
using
ComboBox
control4 = new();
449
using
ComboBox
control = new();
501
using
ComboBox
control = new()
517
using
ComboBox
control = new();
560
using
ComboBox
control = new()
576
using
ComboBox
control = new();
612
using
ComboBox
control = new();
653
using
ComboBox
control = new();
824
using
ComboBox
control = new()
854
using
ComboBox
control = new()
877
using
ComboBox
control = new();
886
using
ComboBox
control = new();
893
using
ComboBox
control = new()
916
using
ComboBox
control = new();
944
using
ComboBox
control = new();
980
using
ComboBox
control = new();
1006
using
ComboBox
control = new();
1058
using
ComboBox
control = new()
1084
using
ComboBox
control = new();
1112
using
ComboBox
control = new();
1147
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.ForeColor)];
1148
using
ComboBox
control = new();
1163
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ComboBox
))[nameof(
ComboBox
.ForeColor)];
1164
using
ComboBox
control = new();
1180
using
ComboBox
control = new()
1197
using
ComboBox
control = new();
1225
using
ComboBox
control = new();
1263
using
ComboBox
control = new()
1279
using
ComboBox
control = new();
1315
using
ComboBox
control = new();
1325
using
ComboBox
control = new();
1347
using
ComboBox
control = new()
1369
using
ComboBox
control = new();
1381
using
ComboBox
control = new();
1395
using
ComboBox
control = new();
1407
using
ComboBox
control = new();
1421
using
ComboBox
control = new();
1434
using
ComboBox
control = new();
1497
using
ComboBox
controlWithNoItems = new();
1504
using
ComboBox
controlWithItems = new()
1572
public void ComboBox_FindString_Invoke_ReturnsExpected(
ComboBox
control, string s, int startIndex, int expected)
1588
using
ComboBox
control = new();
1603
using
ComboBox
controlWithNoItems = new();
1611
using
ComboBox
controlWithItems = new()
1691
public void ComboBox_FindStringExact_Invoke_ReturnsExpected(
ComboBox
control, string s, int startIndex, bool ignoreCase, int expected)
1712
using
ComboBox
control = new();
2155
using
ComboBox
comboBox = new() { DropDownStyle = dropDownStyle, Size = new(100, 50) };
2259
using
ComboBox
comboBox = new();
2425
using
ComboBox
comboBox = new();
2447
using
ComboBox
comboBox = new();
2464
using
ComboBox
comboBox = new();
2479
using
ComboBox
comboBox = new();
2563
using
ComboBox
comboBox = new();
2622
using
ComboBox
control = CreateComboBox(drawMode, expected);
2626
private
ComboBox
CreateComboBox(DrawMode drawMode, int itemHeight = 15)
2628
ComboBox
control = new()
2650
using
ComboBox
control = CreateComboBox(DrawMode.OwnerDrawVariable);
2671
using
ComboBox
control = new();
2682
using
ComboBox
control = new();
2696
using
ComboBox
control = new();
2708
using
ComboBox
control = new();
2720
using
ComboBox
comboBox = new();
2743
private void InitializeItems(
ComboBox
comboBox, int numItems)
2781
public AutomationEventCountingComboBoxAccessibleObject(
ComboBox
owner) : base(owner)
2795
public AutomationEventCountingComboBoxChildEditUiaProvider(
ComboBox
owner, HWND childEditControlhandle) : base(owner, childEditControlhandle)
System.Windows.Forms.UI.IntegrationTests (2)
ComboBoxTests.cs (1)
18
await RunSingleControlTestAsync<
ComboBox
>((form, comboBox) =>
PropertyGridTests.cs (1)
302
using
ComboBox
comboBox1 = new();
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;