Method IsTopLevel
IsTopLevel(nint)
Checks whether a window is a top-level window (has no owner nor parent window).
Declaration
public static bool IsTopLevel(nint hwnd)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | hwnd | Handle to the window to check. |
Returns
| Type | Description |
|---|---|
| bool |