30 references to DropDownListBox
System.Windows.Forms (30)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (30)
409if (DropDownListBox.Visible) { 410return DropDownListBox.AccessibilityObject; 930if (dropDownHolder.Component == DropDownListBox && GetFlag(FlagDropDownCommit)) { 2508if (!DropDownListBox.InSetSelectedIndex()) { 2510Edit.Text = gridEntry.GetPropertyTextValue(DropDownListBox.SelectedItem); 2525if (DropDownListBox.Items.Count == 0) { 2532object value = DropDownListBox.SelectedItem; 2551string text = (string)DropDownListBox.Items[die.Index]; 2568if (DropDownListBox.IsHandleCreated) 2569DropDownListBox.Visible = false; 3862DropDownListBox.Items.Clear(); 3870IntPtr hdc = UnsafeNativeMethods.GetDC(new HandleRef(DropDownListBox, DropDownListBox.Handle)); 3876hFont = SafeNativeMethods.SelectObject(new HandleRef(DropDownListBox, hdc), new HandleRef(Font, hFont)); 3885DropDownListBox.Items.Add(s); 3886IntUnsafeNativeMethods.GetTextExtentPoint32(new HandleRef(DropDownListBox, hdc), s, textSize); 3890SafeNativeMethods.GetTextMetrics(new HandleRef(DropDownListBox, hdc), ref tm); 3895hFont = SafeNativeMethods.SelectObject(new HandleRef(DropDownListBox, hdc), new HandleRef(Font, hFont)); 3899UnsafeNativeMethods.ReleaseDC(new HandleRef(DropDownListBox, DropDownListBox.Handle), new HandleRef(DropDownListBox, hdc)); 3904DropDownListBox.SelectedIndex = iSel; 3907DropDownListBox.Height = Math.Max(tm.tmHeight + 2, Math.Min(maxListBoxHeight, DropDownListBox.PreferredHeight)); 3908DropDownListBox.Width = Math.Max(maxWidth, GetRectangle(row,ROWVALUE).Width); 3910bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight); 3912DropDownControl(DropDownListBox); 5183DropDownListBox.ItemHeight = RowHeight + 2;