2 writes to _childListBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2304
_childListBox
= new ComboBoxChildNativeWindow(this, ChildWindowType.ListBox);
3059
_childListBox
= null;
18 references to _childListBox
System.Windows.Forms (18)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (18)
325
new ComboBoxChildListUiaProvider(this, DropDownStyle == ComboBoxStyle.Simple ?
_childListBox
!.HWND : _dropDownHandle);
545
&& ((_childEdit is not null && focus == _childEdit.Handle) || (
_childListBox
is not null && focus ==
_childListBox
.Handle));
1411
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1430
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1470
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1495
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1841
childWindow =
_childListBox
;
1888
if (
_childListBox
is not null && !
_childListBox
.HWND.IsNull)
1890
PInvoke.InvalidateRect(
_childListBox
, lpRect: null, bErase: false);
1989
return DropDownStyle == ComboBoxStyle.Simple ? new(
_childListBox
) : new(this, _dropDownHandle);
1994
return DropDownStyle == ComboBoxStyle.Simple ?
_childListBox
! : _childDropDown!;
2292
Debug.Assert(
_childListBox
is null, "Child listbox window already attached");
2294
bool ok = _childEdit is null &&
_childListBox
is null;
2305
_childListBox
.AssignHandle(hwnd);
3058
_childListBox
?.ReleaseHandle();
3702
&& hwndChild ==
_childListBox
?.HWND)