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