28 references to DropDownButton
System.Windows.Forms (28)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (3)
59if (propertyGridView.DropDownButton is { Visible: true } dropDownButton) 120if (propertyGridView.DropDownButton.Visible || propertyGridView.DialogButton.Visible) 197if (propertyGridView.DropDownButton is { Visible: true } dropDownButton)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (25)
774else if (DropDownButton.Visible) 776DropDownButton.Focus(); 823if (EditTextBox.Focused || DialogButton.Focused || DropDownButton.Focused) 856if (DropDownButton.Focused && !gotFocus) 861DropDownButton.Visible = false; 1210if (DropDownButton.Visible) 1463DropDownButton.IgnoreMouse = true; 1468DropDownButton.IgnoreMouse = false; 2709if (keyCode == Keys.Down && altPressed && DropDownButton.Visible) 2715if (keyCode == Keys.Up && altPressed && DropDownButton.Visible && (_dropDownHolder is not null) && _dropDownHolder.Visible) 3865if (DropDownButton.Visible) 3867DropDownButton.Focus(); 3882else if (DialogButton.Focused || DropDownButton.Focused) 3899if (DialogButton.Focused || DropDownButton.Focused) 3901OnButtonClick(DialogButton.Focused ? DialogButton : DropDownButton, EventArgs.Empty); 4162bool dropDownButtonVisible = DropDownButton.Visible; 4167DropDownButton.Visible = false; 4178DropDownButton.Visible = dropDownButtonVisible; 4320Control button = needsDropDownButton ? DropDownButton : DialogButton; 4785else if (DropDownButton.Visible) 4787DropDownButton.Focus(); 5147DialogButton.Size = DropDownButton.Size; 5208if (DropDownButton.Visible || DialogButton.Visible || EditTextBox.Visible) 5213else if (EditTextBox.Focused && (DropDownButton.Visible || DialogButton.Visible)) 5223if (EditTextBox.Focused || DropDownButton.Focused || DialogButton.Focused)