Hello,
Do you implement the INotifyPropertyChanged
in your Model?
If so, you can add Console.WriteLine(value);
in get/set method of properties. When you debug your application, you can see the value changes of properties of Model in output Window.
public class MyModel : INotifyPropertyChanged
{
double hue;
public event PropertyChangedEventHandler PropertyChanged;
public double Hue
{
set
{
if (hue != value)
{
hue = value;
OnPropertyChanged("Hue");
Console.WriteLine("Hue: " + value);
}
}
get
{
return hue;
}
}
protected virtual void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.