Show / Hide Table of Contents

Method GetWindowHandle

| Edit this page View Source

GetWindowHandle(Window)

Gets the native HWND pointer handle for the window

Declaration
public static nint GetWindowHandle(this Window window)
Parameters
Type Name Description
Window window

The window to return the handle for

Returns
Type Description
nint

HWND handle

| Edit this page View Source

GetWindowHandle(WindowId)

Gets the window HWND handle from a Window ID.

Declaration
public static nint GetWindowHandle(this WindowId windowId)
Parameters
Type Name Description
WindowId windowId

Window ID to get handle from

Returns
Type Description
nint

Window HWND handle

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX