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