Hi, 40317169. How did you create the model class and viewModel class? Please make sure the 'summary' property raise the PropertyChanged
event when the value is changed.
Here is the related code about the viewModel class in my test sample, you could refer to it.
public class BookViewModel : INotifyPropertyChanged
{
public BookViewModel()
{
BookInfo = xxx;
DataCollection = new ObservableCollection<BookModel>();
//add the data
}
public ObservableCollection<BookModel> DataCollection { get; set; }
private string bookInfo;
public string BookInfo
{
get
{
return bookInfo;
}
set
{
if (bookInfo != value)
{
bookInfo = value;
NotifyPropertyChanged();
}
}
}
protected virtual void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
public event PropertyChangedEventHandler PropertyChanged;
}