Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HwndHost.Handle Property

 

Gets the window handle of the hosted window.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

public IntPtr Handle {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.IntPtr

The window handle.

SecurityPermission

to get this object. Associated enumeration: UnmanagedCode

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft