46 references to Simple
System.Windows.Forms (45)
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 (21)
324childListControlhandle: DropDownStyle == ComboBoxStyle.Simple 360&& DropDownStyle == ComboBoxStyle.Simple)) 367case ComboBoxStyle.Simple: 839&& DropDownStyle != ComboBoxStyle.Simple) 884if (DropDownStyle == ComboBoxStyle.Simple) 1489if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1508if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1548if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1573if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 2062return DropDownStyle == ComboBoxStyle.Simple ? new(_childListBox) : new(this, _dropDownHandle); 2067return DropDownStyle == ComboBoxStyle.Simple ? _childListBox! : _childDropDown!; 2375if (DropDownStyle == ComboBoxStyle.Simple) 2406if (DropDownStyle == ComboBoxStyle.Simple) 2780if (DropDownStyle == ComboBoxStyle.Simple 2924if (DropDownStyle == ComboBoxStyle.Simple && recreate) 2946if (DropDownStyle == ComboBoxStyle.Simple 3377if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple) 3568if ((DropDownStyle == ComboBoxStyle.Simple) && ParentInternal is not null) 3779&& DropDownStyle != ComboBoxStyle.Simple 3874if (DropDownStyle == ComboBoxStyle.Simple 4161if (DropDownStyle == ComboBoxStyle.Simple
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
68if (comboBox.DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatStyle.Docs.cs (1)
22/// Modern non-<see cref="ComboBoxStyle.Simple"/> controls share field metrics with an AutoSize,
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (12)
79Rectangle simpleListBounds = DropDownStyle == ComboBoxStyle.Simple 150if (DropDownStyle != ComboBoxStyle.Simple 216int extraButtonWidth = DropDownStyle == ComboBoxStyle.Simple 222if (DropDownStyle == ComboBoxStyle.Simple) 354if (DropDownStyle == ComboBoxStyle.Simple) 390if (DropDownStyle != ComboBoxStyle.Simple 552if (DropDownStyle == ComboBoxStyle.Simple) 628&& DropDownStyle == ComboBoxStyle.Simple 806if (!UsesModernComboAdapter || DropDownStyle == ComboBoxStyle.Simple) 821if (DropDownStyle == ComboBoxStyle.Simple 842|| DropDownStyle == ComboBoxStyle.Simple 873&& DropDownStyle != ComboBoxStyle.Simple)
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
31if (_dropDownStyle == ComboBoxStyle.Simple) 397if (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)
107ComboBoxStyle style = ComboBoxStyle.Simple;