using System.Collections.Generic; using GalaSoft.MvvmLight; namespace HandyControlDemo.ViewModel { public class DemoViewModelBase : ViewModelBase { /// /// 数据列表 /// private IList _dataList; /// /// 数据列表 /// public IList DataList { get => _dataList; set => Set(ref _dataList, value); } } }