© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
The Fog from Human Resources

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
IsPaneOpen
which has a Binding to a value called
isPaneOpen
isPaneOpen
, however, in my code i have a
private bool _isPaneOpen = false;
private bool _isPaneOpen = false;
which has an
[ObservableProperty]
[ObservableProperty]
Attribute to it
How does Avalonia know that
_isPaneOpen
_isPaneOpen
is my binding to
isPaneOpen
isPaneOpen
, the same question goes for how avalonia knows that my
OnButtonClick()
OnButtonClick()
with my
[RelayCommand]
[RelayCommand]
attribute is the same function as my binding
OnButtonClickCommand()
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ [Avalonia] Basic question regarding subclassing
C#CC# / help
3y ago
Question about Avalonia structure, addon capability and generall seperation of projects
C#CC# / help
6mo ago
✅ Question about serialization
C#CC# / help
7mo ago
✅ Question about learning
C#CC# / help
8mo ago