36 references to DropDownList
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
177this.comboBoxTemplates.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
System.Windows.Forms (30)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (1)
228ComboBoxStyle.DropDownList => owner.ChildTextAccessibleObject,
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
63_owner.DropDownStyle == ComboBoxStyle.DropDownList
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
86return _owningComboBox.DropDownStyle == ComboBoxStyle.DropDownList
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (21)
152if (DropDownStyle == ComboBoxStyle.DropDownList 196if (DropDownStyle == ComboBoxStyle.DropDownList 377case ComboBoxStyle.DropDownList: 1042get => DropDownStyle == ComboBoxStyle.DropDownList ? string.Empty : Text.Substring(SelectionStart, SelectionLength); 1045if (DropDownStyle != ComboBoxStyle.DropDownList) 1148if (value == ComboBoxStyle.DropDownList 1200if (DropDownStyle == ComboBoxStyle.DropDownList && !IsHandleCreated && !string.IsNullOrEmpty(value) && FindStringExact(value) == -1) 1300return ((_autoCompleteMode != AutoCompleteMode.None) && (DropDownStyle != ComboBoxStyle.DropDownList)); 2015or ComboBoxStyle.DropDownList) 2257if (DropDownStyle != ComboBoxStyle.DropDownList) 2319if (DropDownStyle == ComboBoxStyle.DropDownList && SelectedIndex == index) 2369if (ok && DropDownStyle != ComboBoxStyle.DropDownList) 2712&& (DropDownStyle == ComboBoxStyle.DropDownList || DropDownStyle == ComboBoxStyle.DropDown)) 2865&& DropDownStyle == ComboBoxStyle.DropDownList) 3013if (DropDownStyle == ComboBoxStyle.DropDownList) 3063if (DropDownStyle != ComboBoxStyle.DropDownList 3089&& DropDownStyle == ComboBoxStyle.DropDownList 3286if (DropDownStyle == ComboBoxStyle.DropDownList) 3289Debug.Assert(DropDownStyle == ComboBoxStyle.DropDownList); 3822&& DropDownStyle == ComboBoxStyle.DropDownList 4060&& DropDownStyle == ComboBoxStyle.DropDownList
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (3)
74Rectangle editBounds = DropDownStyle == ComboBoxStyle.DropDownList 752if (DropDownStyle == ComboBoxStyle.DropDownList) 814return DropDownStyle == ComboBoxStyle.DropDownList
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (2)
81if (_dropDownStyle != ComboBoxStyle.DropDownList 267if (_dropDownStyle != ComboBoxStyle.DropDownList
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1271comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
112if (style is ComboBoxStyle.DropDown or ComboBoxStyle.DropDownList)
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;