我正在使用freshmvvm。
模态
public class Expense : INotifyPropertyChanged
{
public int Id { get; set; }
public string Name { get; set; }
public ObservableCollection<ImageSource> Images { get; set; }//here
public event PropertyChangedEventHandler PropertyChanged;
}
我想提供图像属性,例如(名称、类型、来源)
public ObservableCollection<ImageSource> Images {
public string name { get; set; }
public string type { get; set; }
public ImageSource source { get; set; }
}