✅ Switching from ReactiveUI to CommunityToolkit
I'm using CommunityToolkit now and I'm getting the error on the line
Content="{Binding Content}"
and I'm not sure what to do. This works just fine in ReactiveUI12 Replies
and inside the window
assuming that is what your mainwindowview viewmodel is called
and
xmlns:vm="using:Diary.ViewModels"
I just figured it out. I had to edit the project's file
ok but are u not missing those? the default Avalonia template with CTK generate those above I listed
also my default binding is set to true
it did have them, but I haven't needed them. I have it setup like
u have a viewlocator
when I was using reactive ui
ah ok
yea. the main window view model is built to serve as the window manager for the application
every screen shows within the main window and the main window just knows when to show what screen based off what user interaction
well glad u figured it out 😉
thanks. Althought Community Toolkit removes a lot of boiler plate, I just hope it's not too much of a headache to work with
I like it, its really nice imo
very light weight
$close
Use the /close command to mark a forum thread as answered