picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.53k stars 318 forks source link

Add NativeControlHost #2589

Closed cwensley closed 7 months ago

cwensley commented 7 months ago

This adds an easier way to host a native control within Eto without having to reference each of the platform-specific assemblies. You can pass the native object/handle to the NativeControlHost constructor, or if it is omitted then it will create a native control for you, along with a NativeHandle to do with what you wish.

Fixes #2167