Is there a way to use INotifyPropertyChanged
with auto-properties? Maybe an attribute or something other, not obvious to me.
public string Demo{
get;set;
}
For me, auto-properties would be an extremely practicall thing, but almost always, I have to raise the PropertyChanged
-event if the property value has been changed and without a mechanism to do this, auto-properties are useless for me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…