2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2296
_childEdit
= new ComboBoxChildNativeWindow(this, ChildWindowType.Edit);
3039
_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)
303
_childEditAccessibleObject ??= new ComboBoxChildEditUiaProvider(this,
_childEdit
!.HWND);
534
&& ((
_childEdit
is not null && focus ==
_childEdit
.Handle) || (_childListBox is not null && focus == _childListBox.Handle));
959
if (IsHandleCreated &&
_childEdit
is not null)
961
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty);
1373
if (
_childEdit
is null)
1382
PInvokeCore.GetWindowRect(
_childEdit
, out var editRectMid);
1559
if (!DesignMode &&
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1576
if (
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1579
_childEdit
,
1755
if (Cursor != DefaultCursor &&
_childEdit
is not null
1756
&& m.HWnd ==
_childEdit
.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT)
1794
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location)))
1817
if (
_childEdit
is not null)
1820
if (m.HWnd ==
_childEdit
.Handle)
1822
childWindow =
_childEdit
;
1868
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
1870
PInvoke.InvalidateRect(
_childEdit
, lpRect: null, bErase: false);
2276
Debug.Assert(
_childEdit
is null, "Child edit window already attached");
2279
bool ok =
_childEdit
is null && _childListBox is null;
2297
_childEdit
.AssignHandle(hwnd);
2300
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN));
2484
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ContainsNavigationKeyCode(e.KeyCode))
2602
if (
_childEdit
is not null)
2770
if (IsAccessibilityObjectCreated &&
_childEdit
is not null)
2888
else if (
_childEdit
is not null &&
_childEdit
.Handle != 0)
2893
_childEdit
,
3038
_childEdit
?.ReleaseHandle();
3094
if (!IsHandleCreated ||
_childEdit
is null)
3104
_childEdit
,
3131
_childEdit
,
3140
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3160
_childEdit
,
3174
_childEdit
,
3183
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3213
PInvoke.SHAutoComplete(
_childEdit
.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode);
3426
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
3428
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.WM_SETTEXT, 0, s);
3666
if (hwndChild ==
_childEdit
?.HWND && Application.IsDarkModeEnabled)