42 references to Simple
System.Windows.Forms (41)
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 365case ComboBoxStyle.Simple: 822&& DropDownStyle != ComboBoxStyle.Simple) 867if (DropDownStyle == ComboBoxStyle.Simple) 1472if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1491if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1531if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1556if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 2045return DropDownStyle == ComboBoxStyle.Simple ? new(_childListBox) : new(this, _dropDownHandle); 2050return DropDownStyle == ComboBoxStyle.Simple ? _childListBox! : _childDropDown!; 2358if (DropDownStyle == ComboBoxStyle.Simple) 2389if (DropDownStyle == ComboBoxStyle.Simple) 2754if (DropDownStyle == ComboBoxStyle.Simple 2898if (DropDownStyle == ComboBoxStyle.Simple && recreate) 2920if (DropDownStyle == ComboBoxStyle.Simple 3351if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple) 3542if ((DropDownStyle == ComboBoxStyle.Simple) && ParentInternal is not null) 3735&& DropDownStyle != ComboBoxStyle.Simple 3756&& DropDownStyle != ComboBoxStyle.Simple 3830if (DropDownStyle == ComboBoxStyle.Simple 4117if (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 (9)
71Rectangle simpleListBounds = DropDownStyle == ComboBoxStyle.Simple 141if (DropDownStyle != ComboBoxStyle.Simple 186int extraButtonWidth = DropDownStyle == ComboBoxStyle.Simple 250if (DropDownStyle == ComboBoxStyle.Simple) 392if (DropDownStyle == ComboBoxStyle.Simple) 576if (!UsesModernComboAdapter || DropDownStyle == ComboBoxStyle.Simple) 591if (DropDownStyle == ComboBoxStyle.Simple 612|| DropDownStyle == ComboBoxStyle.Simple 643&& DropDownStyle != ComboBoxStyle.Simple)
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (1)
31if (_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;