HwndHost.Handle Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: