23 references to DropDownListBox
System.Windows.Forms (23)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (22)
359=> DropDownListBox.Visible ? DropDownListBox.AccessibilityObject : null; 779if (_dropDownHolder.Component == DropDownListBox && _flags.HasFlag(Flags.DropDownCommit)) 2263if (!DropDownListBox.InSetSelectedIndex()) 2266EditTextBox.Text = gridEntry?.GetPropertyTextValue(DropDownListBox.SelectedItem); 2283if (DropDownListBox.Items.Count == 0) 2292object? value = DropDownListBox.SelectedItem; 2313string text = (string)DropDownListBox.Items[e.Index]; 2336if (DropDownListBox.IsHandleCreated) 2338DropDownListBox.Visible = false; 3719DropDownListBox.Items.Clear(); 3726using GetDcScope hdc = new(DropDownListBox.HWND); 3744DropDownListBox.Items.Add(value); 3758DropDownListBox.SelectedIndex = selectionIndex; 3762DropDownListBox.Height = Math.Max(tm.tmHeight + 2, Math.Min(_maxListBoxHeight, DropDownListBox.PreferredHeight)); 3763DropDownListBox.Width = Math.Max(maxWidth, GetRectangle(row, RowValue).Width); 3766bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight); 3768DropDownControl(DropDownListBox); 5162DropDownListBox.ItemHeight = RowHeight + 2;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
42when selectedEntry.Enumerable && _owningDropDownHolder.Component == gridView!.DropDownListBox