❔ property cannot by in ref
I quite don't understand that. How can I fix that and more importantly, what's the problem here? I have a class Clock and and another class I want to access its properties.
11 Replies
not possible that way, is raiseandsetifchanged a method u created?
nope
does this method have overloads?
it's only one
the body of used method:
only a field is required
ahh so I need to write backing field for that
seems to be OK. Actually the answer lied in parameters in methods ahh 🙂
u probably have a method called RaisePropertyChanged
u can just set a property's value, then call that method
yes, it seems that this method is more applicable here
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.