Force IDataErrorInfo validation

前端 未结 2 632
渐次进展
渐次进展 2021-02-19 06:33

I have two controls on some panel: textbox and combobox:



        
2条回答
  •  死守一世寂寞
    2021-02-19 06:56

    Just raise the NotifyPropertyChanged event for the property you want to validate or if you are in .NET 4.5 or Silverlight 4 use the INotityDataErrorInfo.

提交回复
热议问题