Interface IBlazorWindowNativeController
Defines a contract for managing native window properties and operations within the Blazor environment, providing direct control over window positioning, sizing, and retrieval of window handles.
Namespace: PoeShared.Blazor.Wpf
Assembly: PoeShared.Blazor.Wpf.dll
Syntax
public interface IBlazorWindowNativeController
Properties
Name | Description |
---|---|
Dispatcher | Gets the current window dispatcher |
Methods
Name | Description |
---|---|
GetWindowHandle() | Retrieves the handle (HWND) of the native window associated with this Blazor window instance. |
GetWindowRect() | Gets the rectangular bounds of the native window, including position and size. |
SetWindowPos(Point) | Updates the position of the native window without changing its size. |
SetWindowRect(Rectangle) | Sets the rectangular bounds of the native window, including position and size. |
SetWindowSize(Size) | Sets the size dimensions of the native window without altering its current position. |