Click here to Skip to main content
15,884,388 members
Articles / Programming Languages / C#

Embedding Native (Windows and Linux) Views/Controls/Applications into Avalonia Applications in Easy Samples

Rate me:
Please Sign up or sign in to vote.
5.00/5 (16 votes)
26 Dec 2023MIT25 min read 21.6K   21  
This article describes embedding native Windows and Linux control into an Avalonia application.
Embedding native Windows and Linux control into an Avalonia application is important if one needs to port a native application to multiplatform Avalonia or if one does not have some complex Avalonia controls that had been built natively. I also present the best architecture for using native views within Avalonia via an IoC container and dynamic loading. Finally, the article describes how to make a native window run by a different process into a visual part of an Avalonia application.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Architect AWebPros
United States United States
I am a software architect and a developer with great passion for new engineering solutions and finding and applying design patterns.

I am passionate about learning new ways of building software and sharing my knowledge with others.

I worked with many various languages including C#, Java and C++.

I fell in love with WPF (and later Silverlight) at first sight. After Microsoft killed Silverlight, I was distraught until I found Avalonia - a great multiplatform package for building UI on Windows, Linux, Mac as well as within browsers (using WASM) and for mobile platforms.

I have my Ph.D. from RPI.

here is my linkedin profile

Comments and Discussions