Skip to content

partial void OnXXXXXXChanged(string value) in viewmodel error #528

Answered by Sergio0694
Gimmy-Ateikon asked this question in Q&A
Discussion options

You must be logged in to vote

Ciao! The issue is that you simply don't have a generated "Codice" property there. The partial "On___Changed" methods are generated for properties you declare via [ObservableProperty], and you don't have such a property in BindingClassToolkitViewModel (you have one in ArticoloModel).

Also, just a side note: avoid using [INotifyPropertyChanged] if you can inherit from [ObservableObject] instead.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Gimmy-Ateikon
Comment options

Answer selected by Sergio0694
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