27 references to DialogButton
System.Windows.Forms (27)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (3)
69else if (propertyGridView.DialogButton is { Visible: true } dialogButton) 120if (propertyGridView.DropDownButton.Visible || propertyGridView.DialogButton.Visible) 207else if (propertyGridView.DialogButton is { Visible: true } dialogButton)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (24)
770if (DialogButton.Visible) 772DialogButton.Focus(); 823if (EditTextBox.Focused || DialogButton.Focused || DropDownButton.Focused) 849if (DialogButton.Focused && !gotFocus) 854DialogButton.Visible = false; 1214else if (DialogButton.Visible) 1222DialogButton.Focus(); 2143if (sender == DialogButton && !CommitEditTextBox()) 3869else if (DialogButton.Visible) 3871DialogButton.Focus(); 3881else if (DialogButton.Focused || DropDownButton.Focused) 3898if (DialogButton.Focused || DropDownButton.Focused) 3900OnButtonClick(DialogButton.Focused ? DialogButton : DropDownButton, EventArgs.Empty); 4162bool dialogButtonVisible = DialogButton.Visible; 4165DialogButton.Visible = false; 4176DialogButton.Visible = dialogButtonVisible; 4319Control button = needsDropDownButton ? DropDownButton : DialogButton; 4780if (DialogButton.Visible) 4782DialogButton.Focus(); 5146DialogButton.Size = DropDownButton.Size; 5207if (DropDownButton.Visible || DialogButton.Visible || EditTextBox.Visible) 5212else if (EditTextBox.Focused && (DropDownButton.Visible || DialogButton.Visible)) 5222if (EditTextBox.Focused || DropDownButton.Focused || DialogButton.Focused)