32 references to InternalHandle
System.Windows.Forms (24)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
524
=> UIAHelper.WindowHandleToVariant(Owner?.
InternalHandle
?? HWND.Null),
System\Windows\Forms\Control.ControlCollection.cs (1)
108
value.SetParentHandle(Owner.
InternalHandle
);
System\Windows\Forms\Control.cs (7)
1405
cp.Parent = _parent is null ? IntPtr.Zero : _parent.
InternalHandle
;
1866
=> IsHandleCreated && PInvoke.GetFocus() ==
InternalHandle
;
4743
PInvoke.DefMDIChildProc(
InternalHandle
, PInvokeCore.WM_CLOSE, default, default);
7973
PInvokeCore.GetClientRect(new HandleRef<HWND>(_window,
InternalHandle
), out RECT rect);
10944
HWND hWnd = control.
InternalHandle
;
11965
if ((HWND)m.WParamInternal ==
InternalHandle
&& m.LParamInternal.LOWORD == PInvoke.HTCLIENT)
12236
&& PInvoke.GetParent(this) == _parent.
InternalHandle
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (2)
31
UseStdAccessibleObjects(owner.
InternalHandle
);
105
(int)_owner.
InternalHandle
,
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
191
(int)_owningComboBox.
InternalHandle
,
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildTextUiaProvider.cs (1)
114
(int)_owner.
InternalHandle
,
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
151
(int)_owningComboBox.
InternalHandle
,
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1750
if ((HWND)m.WParamInternal ==
InternalHandle
&& m.LParamInternal.LOWORD == PInvoke.HTCLIENT)
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
135
(int)_owningLinkLabel.
InternalHandle
,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarChildAccessibleObject.cs (1)
63
: [RuntimeIDFirstItem, (int)owner.
InternalHandle
, GetChildId()];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
210
? (int)(owner?.OwnerGridView?.
InternalHandle
?? HWND.Null)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxItemAccessibleObject.cs (1)
48
(int)_owningGridViewListBox.
InternalHandle
,
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
72
: (int)OwningTabControl.
InternalHandle
,
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
61
(int)(this.TryGetOwnerAs(out TrackBar? owner) ? owner.
InternalHandle
: HWND.Null),
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
152
(int)_owningTreeView.
InternalHandle
,
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2270
if ((HWND)m.WParamInternal ==
InternalHandle
&& m.LParamInternal.LOWORD == PInvoke.HTCLIENT)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (1)
68
(int)OwningScrollBar.
InternalHandle
,
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (1)
278
Assert.Equal((int)(nint)comboBox.
InternalHandle
, (int)actual);
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (2)
630
Assert.Equal(tabControl.
InternalHandle
, (IntPtr)tabControl.AccessibilityObject.RuntimeId[1]);
683
Assert.Equal((int)(nint)tabControl.
InternalHandle
, (int)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_NativeWindowHandlePropertyId));
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
439
Assert.Equal((int)tabPage.
InternalHandle
, (int)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_NativeWindowHandlePropertyId));
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
450
Assert.Equal((int)(nint)trackBar.
InternalHandle
, actual);
System\Windows\Forms\ListViewTests.cs (1)
5269
Action action = () => listView.ReleaseUiaProvider(listView.
InternalHandle
);
System\Windows\Forms\ToolTipTests.cs (2)
848
Assert.NotEqual(IntPtr.Zero, tabControl.
InternalHandle
);
891
Assert.NotEqual(IntPtr.Zero, tabControl.
InternalHandle
);