6 implementations of Handle
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2297IntPtr System.Windows.Forms.IWin32Window.Handle
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
2113public IntPtr Handle
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
208public IntPtr Handle
System\Windows\Forms\NativeWindow.cs (1)
151public IntPtr Handle => HWND;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DrawToolTipEventArgsTests.cs (1)
85public IntPtr Handle { get; }
System\Windows\Forms\PopupEventArgsTests.cs (1)
49public IntPtr Handle { get; }
21 references to Handle
PresentationUI (1)
MS\Internal\Documents\DocumentSignatureManager.cs (1)
327DocumentApplicationDocumentViewer.Instance.RootBrowserWindow.Handle);
System.Windows.Forms (9)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
51HWND handle = parent is null ? HWND.Null : (HWND)parent.Handle;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
39parentHandle = (HWND)parent.Handle;
System\Windows\Forms\Control.cs (2)
5660/// Otherwise, returns <see cref="IWin32Window.Handle"/> after validating the handle is valid. 5671HWND hwnd = (HWND)window.Handle;
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
365ShowDialogAsync(owner.Handle, page, startupLocation);
System\Windows\Forms\ToolTip\ToolTip.cs (4)
1747_owners.Remove((HWND)win.Handle); 1757_owners.Remove((HWND)win.Handle); 2243_owners.Remove((HWND)window.Handle); 2336Control? control = window as Control ?? Control.FromHandle(window.Handle);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerActionUI.cs (2)
718if (_mainParentWindow is not null && _mainParentWindow.Handle != 0) 723new HandleRef<HWND>(_mainParentWindow, (HWND)_mainParentWindow.Handle));
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (2)
99else if (_mainParentWindow is not null && !WindowOwnsWindow((HWND)_mainParentWindow.Handle, hwndActivating)) 101if (IsWindowEnabled(_mainParentWindow.Handle))
System\Windows\Forms\Design\Behavior\BehaviorService.cs (3)
456if (uiService?.GetDialogOwnerWindow() is { } hWnd && hWnd.Handle != 0 && hWnd.Handle != PInvoke.GetActiveWindow()) 458PInvoke.SetActiveWindow(new HandleRef<HWND>(hWnd, (HWND)hWnd.Handle));
System\Windows\Forms\Design\FolderNameEditor.FolderBrowser.cs (1)
63owner is not null ? (HWND)owner.Handle : PInvoke.GetActiveWindow(),
System.Windows.Forms.Tests (3)
System\Windows\Forms\CommonDialogTests.cs (3)
114.Setup(o => o.Handle) 138.Setup(o => o.Handle) 222.Setup(o => o.Handle)