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