2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2380
_childEdit
= new ComboBoxChildNativeWindow(this, ChildWindowType.Edit);
3157
_childEdit
= null;
45 references to _childEdit
System.Windows.Forms (45)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
37
_owningChildEdit = owner.
_childEdit
!;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (44)
311
new ComboBoxChildEditUiaProvider(this,
_childEdit
!.HWND);
590
&& ((
_childEdit
is not null && focus ==
_childEdit
.Handle) || (_childListBox is not null && focus == _childListBox.Handle));
1044
if (IsHandleCreated &&
_childEdit
is not null)
1046
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty);
1458
if (
_childEdit
is null)
1467
PInvokeCore.GetWindowRect(
_childEdit
, out var editRectMid);
1644
if (!DesignMode &&
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1661
if (
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1837
if (Cursor != DefaultCursor &&
_childEdit
is not null
1838
&& m.HWnd ==
_childEdit
.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT)
1876
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location)))
1899
if (
_childEdit
is not null)
1902
if (m.HWnd ==
_childEdit
.Handle)
1904
childWindow =
_childEdit
;
1952
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
1954
PInvoke.InvalidateRect(
_childEdit
, lpRect: null, bErase: false);
2360
Debug.Assert(
_childEdit
is null, "Child edit window already attached");
2363
bool ok =
_childEdit
is null && _childListBox is null;
2381
_childEdit
.AssignHandle(hwnd);
2384
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN));
2594
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ContainsNavigationKeyCode(e.KeyCode))
2712
if (
_childEdit
is not null)
2885
if (IsAccessibilityObjectCreated &&
_childEdit
is not null)
3006
else if (
_childEdit
is not null &&
_childEdit
.Handle != 0)
3011
_childEdit
,
3156
_childEdit
?.ReleaseHandle();
3212
if (!IsHandleCreated ||
_childEdit
is null)
3222
_childEdit
,
3249
_childEdit
,
3258
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3278
_childEdit
,
3292
_childEdit
,
3301
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3331
PInvoke.SHAutoComplete(
_childEdit
.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode);
3546
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
3548
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.WM_SETTEXT, 0, s);
3828
if (hwndChild ==
_childEdit
?.HWND && Application.IsDarkModeEnabled)
3848
if (hwndChild ==
_childEdit
?.HWND