Question about Avalonia

So im a beginner in Avalonia and im watching a youtube tutorial series (more specifically this tutorial) and i have a question about the Community MVVM Toolkit In my Main view im creating a SplitView with a property IsPaneOpen which has a Binding to a value called isPaneOpen, however, in my code i have a private bool _isPaneOpen = false; which has an [ObservableProperty] Attribute to it How does Avalonia know that _isPaneOpen is my binding to isPaneOpen, the same question goes for how avalonia knows that my OnButtonClick() with my [RelayCommand] attribute is the same function as my binding OnButtonClickCommand() Its a very beginner question but i wonder how Avalonia / the MVVM tookit knows what members im reffering to even tho they dont have the same name
3 Replies