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