1、数据改变通知: ((INotifyPropertyChanged)this).PropertyChanged += this.OnPropertyChanged;
2、IsEnabled="{Binding HasDataChange,Converter={dxmvvm:BooleanNegationConverter}}">
3、TreeViewControl 或 GridControl出不来数据的可能原因:绑定的数据不是集合类型的
4、OnPatientEditValueChanged
5、
base.Refresh();
this.RaisePropertyChanged(s => s.SelectedEntity);
this.SelectedEntity = this.UnitOfWork.Strains.Find(idKey);
6、Antibiotics的ConcentrationCoefficient(浓度系数)必须有值
7、
namespace DevExpress.Mvvm.ViewModel
{
//政策
public enum UnitOfWorkPolicy
{
Individual, --个人
Shared, --共享
PassSharedToChildren, --通过共享连接子
}
}
标签:SelectedEntity,MVVM,--,备忘,共享,数据 From: https://www.cnblogs.com/cml2011/p/17676566.html