我有带比例的ViewModel和填充值的方法: public class MRateReportViewModel : HeaderViewModel public ICommand ChangeReportPeriodCommandUserEventsCollection.Add(item); HideDialog(); }
} 通过调试,我检查了EventDetails方法和性能,得到了正确的值。在视图中,我有一个带有ListView的页面,我应该用
在我的WPF/MVVM应用程序中,我有ListView,其中有GridView。我想把第一列作为复选框。ItemsSource of ListView绑定到MyItemsCollectionProperty (基本上是MyClass实例的IEnumerable )。当然,我的ViewModel类具有该属性。我能够将所有其他列从网格绑定到MyItemsCollectionProperty属性的属性(我指的是1、2、3),但不能绑定</e