Implemented interface member:
property
Handle
System.Windows.Forms.IWin32Window.Handle
36 references to Handle
System.Windows.Forms (35)
System\Windows\Forms\Accessibility\LabelEditAccessibleObject.cs (1)
21UseStdAccessibleObjects(labelEdit.Handle);
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (2)
71public bool IsHandleCreated => Handle != HWND.Null; 120if (hwnd != Handle || idObject != (int)OBJECT_IDENTIFIER.OBJID_CLIENT || !IsAccessibilityObjectCreated)
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
28WindowTarget.OnHandleChange(Handle);
System\Windows\Forms\Control.cs (3)
2219internal IntPtr HandleInternal => _window.Handle; 2302public bool IsHandleCreated => _window.Handle != 0; 9296if (_window.Handle == IntPtr.Zero)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
534&& ((_childEdit is not null && focus == _childEdit.Handle) || (_childListBox is not null && focus == _childListBox.Handle)); 1400if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1419if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1459if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1484if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1559if (!DesignMode && _childEdit is not null && m.HWnd == _childEdit.Handle) 1576if (_childEdit is not null && m.HWnd == _childEdit.Handle) 1756&& m.HWnd == _childEdit.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT) 1820if (m.HWnd == _childEdit.Handle) 2888else if (_childEdit is not null && _childEdit.Handle != 0)
System\Windows\Forms\Controls\ListView\ListViewLabelEditAccessibleObject.cs (1)
21UseStdAccessibleObjects(labelEdit.Handle);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
673if (_dropDownOwnerWindow.Handle == IntPtr.Zero)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.ControlItemAccessibleObject.cs (1)
90=> UIAHelper.WindowHandleToVariant(_window?.Handle ?? HWND.Null),
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
81if (Handle != 0) 113Parent = Handle,
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (2)
62UIA_PROPERTY_ID.UIA_NativeWindowHandlePropertyId => UIAHelper.WindowHandleToVariant(_owner.Handle), 119(int)_owner.Handle,
System\Windows\Forms\Form.cs (1)
2009if (_ownerWindow.Handle == IntPtr.Zero)
System\Windows\Forms\NativeWindow.cs (1)
388if (Handle != 0)
System\Windows\Forms\NotifyIcon.cs (5)
404if (_window is not null && _window.Handle != 0) 573if (_window.Handle == IntPtr.Zero) 578data.hWnd = _window.Handle; 646if (_window.Handle == IntPtr.Zero) 652data.hWnd = _window.Handle;
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (1)
29if (Handle != 0)
System\Windows\Forms\ToolTip\ToolTip.cs (2)
270return _window.Handle; 967internal bool GetHandleCreated() => _window is not null && _window.Handle != IntPtr.Zero;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (1)
50Debug.Assert(m.HWnd == Handle, "Message handle differs from target handle");