2 writes to _dropDownHolder
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
967
_dropDownHolder
= null;
1413
_dropDownHolder
??= new(this);
39 references to _dropDownHolder
System.Windows.Forms (39)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (39)
343
internal DropDownHolder? DropDownControlHolder =>
_dropDownHolder
;
346
internal bool DropDownVisible =>
_dropDownHolder
is not null &&
_dropDownHolder
.Visible;
747
if (_flags.HasFlag(Flags.DropDownClosing) ||
_dropDownHolder
is null || !
_dropDownHolder
.Visible)
756
if (
_dropDownHolder
.Component == DropDownListBox && _flags.HasFlag(Flags.DropDownCommit))
764
_dropDownHolder
.SetDropDownControl(control: null, resizable: false);
765
_dropDownHolder
.Visible = false;
963
_dropDownHolder
?.Dispose();
1414
_dropDownHolder
.Visible = false;
1415
_dropDownHolder
.SetDropDownControl(control, _flags.HasFlag(Flags.ResizableDropDown));
1418
Size size =
_dropDownHolder
.Size;
1431
_dropDownHolder
.ResizeUp = true;
1436
_dropDownHolder
.ResizeUp = false;
1453
PInvokeCore.SetWindowLong(
_dropDownHolder
, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT, this);
1454
_dropDownHolder
.SetBounds(location.X, location.Y, size.Width, size.Height);
1455
PInvoke.ShowWindow(
_dropDownHolder
, SHOW_WINDOW_CMD.SW_SHOWNA);
1457
_dropDownHolder
.Visible = true;
1458
_dropDownHolder
.FocusComponent();
1464
_dropDownHolder
.DoModalLoop();
1480
if (
_dropDownHolder
is not null &&
_dropDownHolder
.GetUsed())
1497
if (
_dropDownHolder
?.Visible == true && m.MsgInternal == PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal != Keys.Tab)
1499
Control? control =
_dropDownHolder
.Component;
2535
if (
_dropDownHolder
is not null &&
_dropDownHolder
.Visible)
2540
if (hwnd ==
_dropDownHolder
.Handle)
2714
if (keyCode == Keys.Up && altPressed && DropDownButton.Visible && (
_dropDownHolder
is not null) &&
_dropDownHolder
.Visible)
2921
&&
_dropDownHolder
is not null
2922
&&
_dropDownHolder
.Visible
3079
if (
_dropDownHolder
is null ||
_dropDownHolder
.Component is null || rowMoveCurrent == _selectedRow)
3667
if (
_dropDownHolder
is not null &&
_dropDownHolder
.GetUsed())
4763
_dropDownHolder
?.ReleaseUiaProvider(HWND.Null);
5055
else if (
_dropDownHolder
is not null &&
_dropDownHolder
.Visible)
5057
_dropDownHolder
.FocusComponent();