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