Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HwndSource.Handle Property

Definition

Namespace:
System.Windows.Interop
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the window handle for this HwndSource.

public:
 property IntPtr Handle { IntPtr get(); };
public IntPtr Handle { [System.Security.SecurityCritical] get; }
public IntPtr Handle { get; }
[<get: System.Security.SecurityCritical>]
member this.Handle : nativeint
member this.Handle : nativeint
Public ReadOnly Property Handle As IntPtr

Property Value

IntPtr

nativeint

The window handle.

Implements

Attributes

Remarks

Important

This property is not available in the Internet security zone.

Applies to


Feedback

Was this page helpful?