7 writes to DropDownStyle
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
177this.comboBoxTemplates.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1271comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
161set { ComboBox.DropDownStyle = value; }
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
433_columnTypesCombo.DropDownStyle = ComboBoxStyle.DropDownList;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
194_keyComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
294_columnsOrRowsComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
249_newItemTypes.DropDownStyle = ComboBoxStyle.DropDownList;
52 references to DropDownStyle
System.Windows.Forms (52)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (5)
43? owner.DropDownStyle != ComboBoxStyle.Simple 101if (!owner.IsHandleCreated || owner.DropDownStyle == ComboBoxStyle.Simple) 225return owner?.DropDownStyle switch 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.ComboBoxChildDropDownButtonUiaProvider.cs (1)
63_owner.DropDownStyle == ComboBoxStyle.DropDownList
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (1)
56=> _owningComboBox.DropDownStyle != ComboBoxStyle.Simple
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (2)
86return _owningComboBox.DropDownStyle == ComboBoxStyle.DropDownList 91return _owningComboBox.DropDownStyle == ComboBoxStyle.Simple
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (40)
147if (DropDownStyle == ComboBoxStyle.DropDownList 189if (DropDownStyle == ComboBoxStyle.DropDownList 314new ComboBoxChildListUiaProvider(this, DropDownStyle == ComboBoxStyle.Simple ? _childListBox!.HWND : _dropDownHandle); 347switch (DropDownStyle) 794if (DropDownStyle == ComboBoxStyle.Simple) 953get => DropDownStyle == ComboBoxStyle.DropDownList ? string.Empty : Text.Substring(SelectionStart, SelectionLength); 956if (DropDownStyle != ComboBoxStyle.DropDownList) 1052if (DropDownStyle == value) 1111if (DropDownStyle == ComboBoxStyle.DropDownList && !IsHandleCreated && !string.IsNullOrEmpty(value) && FindStringExact(value) == -1) 1211return ((_autoCompleteMode != AutoCompleteMode.None) && (DropDownStyle != ComboBoxStyle.DropDownList)); 1400if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1419if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1459if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1484if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1926if (DropDownStyle is ComboBoxStyle.DropDown 1974return DropDownStyle == ComboBoxStyle.Simple ? new(_childListBox) : new(this, _dropDownHandle); 1979return DropDownStyle == ComboBoxStyle.Simple ? _childListBox! : _childDropDown!; 2169if (DropDownStyle != ComboBoxStyle.DropDownList) 2231if (DropDownStyle == ComboBoxStyle.DropDownList && SelectedIndex == index) 2281if (ok && DropDownStyle != ComboBoxStyle.DropDownList) 2287if (DropDownStyle == ComboBoxStyle.Simple) 2318if (DropDownStyle == ComboBoxStyle.Simple) 2589&& (DropDownStyle == ComboBoxStyle.DropDownList || DropDownStyle == ComboBoxStyle.DropDown)) 2657if (DropDownStyle == ComboBoxStyle.Simple) 2737&& DropDownStyle == ComboBoxStyle.DropDownList) 2796if (DropDownStyle == ComboBoxStyle.Simple && recreate) 2816if (DropDownStyle == ComboBoxStyle.Simple && IsHandleCreated) 2875if (DropDownStyle == ComboBoxStyle.DropDown) 2882if (DropDownStyle == ComboBoxStyle.DropDownList) 2932if (DropDownStyle != ComboBoxStyle.DropDownList 2958&& DropDownStyle == ComboBoxStyle.DropDownList 3155if (DropDownStyle == ComboBoxStyle.DropDownList) 3158Debug.Assert(DropDownStyle == ComboBoxStyle.DropDownList); 3246if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple) 3424if (DropDownStyle == ComboBoxStyle.DropDown) 3435if ((DropDownStyle == ComboBoxStyle.Simple) && ParentInternal is not null) 3650&& DropDownStyle == ComboBoxStyle.DropDownList 3681if (DropDownStyle == ComboBoxStyle.Simple 3797if (Application.IsDarkModeEnabled && !Enabled && DropDownStyle == ComboBoxStyle.DropDownList)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
68if (comboBox.DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.DataGridViewComboBoxEditingControlAccessibleObject.cs (1)
57=> owner.DropDownStyle != ComboBoxStyle.Simple,
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
160get { return ComboBox.DropDownStyle; }