12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using GalaSoft.MvvmLight;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Media.Imaging;
- namespace GeekDesk.ViewModel
- {
- public class DataInfos : ViewModelBase
- {
- private string path; //路径
- private string name; //文件名
- private int count = 0; //打开次数
- private BitmapImage bitmapImage; //位图
- public int Count
- {
- get
- {
- return count;
- }
- set
- {
- count = value;
- RaisePropertyChanged();
- }
- }
- public string Name
- {
- get
- {
- return name;
- }
- set
- {
- name = value;
- RaisePropertyChanged();
- }
- }
- public string Path
- {
- get
- {
- return path;
- }
- set
- {
- path = value;
- RaisePropertyChanged();
- }
- }
- public BitmapImage BitmapImage
- {
- get
- {
- return bitmapImage;
- }
- set
- {
- bitmapImage = value;
- RaisePropertyChanged();
- }
- }
- }
- }
|