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: 835&& DropDownStyle != ComboBoxStyle.Simple) 880if (DropDownStyle == ComboBoxStyle.Simple) 1485if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1504if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1544if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1569if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 2058return DropDownStyle == ComboBoxStyle.Simple ? new(_childListBox) : new(this, _dropDownHandle); 2063return DropDownStyle == ComboBoxStyle.Simple ? _childListBox! : _childDropDown!; 2371if (DropDownStyle == ComboBoxStyle.Simple) 2402if (DropDownStyle == ComboBoxStyle.Simple) 2767if (DropDownStyle == ComboBoxStyle.Simple 2911if (DropDownStyle == ComboBoxStyle.Simple && recreate) 2933if (DropDownStyle == ComboBoxStyle.Simple 3364if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple) 3555if ((DropDownStyle == ComboBoxStyle.Simple) && ParentInternal is not null) 3748&& DropDownStyle != ComboBoxStyle.Simple 3769&& DropDownStyle != ComboBoxStyle.Simple 3864if (DropDownStyle == ComboBoxStyle.Simple 4151if (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 184int extraButtonWidth = DropDownStyle == ComboBoxStyle.Simple 248if (DropDownStyle == ComboBoxStyle.Simple) 390if (DropDownStyle == ComboBoxStyle.Simple) 574if (!UsesModernComboAdapter || DropDownStyle == ComboBoxStyle.Simple) 589if (DropDownStyle == ComboBoxStyle.Simple 610|| DropDownStyle == ComboBoxStyle.Simple 641&& 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;