These are chat archives for AvaloniaUI/Avalonia
<Window Width="300" Height="300" xmlns="perspex" />
var window = windowFactory.Create<MainWindow>(new Uri("Views\\WindowWithExtensions.xaml", UriKind.Relative));
since it's an Uri it should also work for loading Windows that come from a project DLL, right?
I cannot see how you couldn't do that :D
I cannot see how you couldn't do that :grinning:
well since you're using \ in the URI I thought it might be some custom implementation cause most URIs I've seen use /
i think @cH40z-Lord is thinking that you're not using the BCL's
it's the Uri class inside the BCL, I think
They work ok when used from xaml ime
The format is so complex to write the you always end up looking for "pack uris wpf" in your favorito search engine
;componentpart also optional?