23 references to DropDownListBox
System.Windows.Forms (23)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (22)
336=> DropDownListBox.Visible ? DropDownListBox.AccessibilityObject : null; 756if (_dropDownHolder.Component == DropDownListBox && _flags.HasFlag(Flags.DropDownCommit)) 2240if (!DropDownListBox.InSetSelectedIndex()) 2243EditTextBox.Text = gridEntry?.GetPropertyTextValue(DropDownListBox.SelectedItem); 2260if (DropDownListBox.Items.Count == 0) 2269object? value = DropDownListBox.SelectedItem; 2290string text = (string)DropDownListBox.Items[e.Index]; 2313if (DropDownListBox.IsHandleCreated) 2315DropDownListBox.Visible = false; 3681DropDownListBox.Items.Clear(); 3688using GetDcScope hdc = new(DropDownListBox.HWND); 3706DropDownListBox.Items.Add(value); 3720DropDownListBox.SelectedIndex = selectionIndex; 3724DropDownListBox.Height = Math.Max(tm.tmHeight + 2, Math.Min(_maxListBoxHeight, DropDownListBox.PreferredHeight)); 3725DropDownListBox.Width = Math.Max(maxWidth, GetRectangle(row, RowValue).Width); 3728bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight); 3730DropDownControl(DropDownListBox); 5130DropDownListBox.ItemHeight = RowHeight + 2;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
42when selectedEntry.Enumerable && _owningDropDownHolder.Component == gridView!.DropDownListBox