DataBinding to Calculated Field

前端 未结 5 1582
忘了有多久
忘了有多久 2021-01-13 23:46

I\'m running into a small problem where I\'m trying to bind a DataTextColumn of a DataGrid to a Calculated Field.

WPF



        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 23:51

    Just change the DataSourceUpdateMode to OnPropertyChanged when you create DataBinding to the TotalCosts property.

提交回复
热议问题