Skip to content

Why isn't InitializeComponent available for the Application class? #19065

Discussion options

You must be logged in to vote

You can use on OnFrameworkInitializationCompleted? You can also use the Initialize method, but that might be too early.

To be clear, Avalonia is not WPF. A lot things wont "just work" in Avalonia that work in WPF. For that you will need XPF. I also suggest reading some sample applications/docs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@PlatinumLucario
Comment options

@thevortexcloud
Comment options

@PlatinumLucario
Comment options

Answer selected by PlatinumLucario
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants