Forum Discussion

Luis_Sales's avatar
Luis_Sales
Copper Contributor
Feb 05, 2024

How to get the HWND handle of elements in MAUI

How can one retrieve the HWND of a user interface element, such as a button or a video, within a .NET MAUI application? For instance, in WPF, the inherited class HwndHost is utilized, while in Avalonia, the NativeControlHost interface is employed. How would this be accomplished in .NET MAUI?

No RepliesBe the first to reply

Resources