DataBinding to Calculated Field

前端 未结 5 1613
忘了有多久
忘了有多久 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-14 00:00

    You can call OnPropertyChanged("TotalCosts") in the setters of each property that TotalCosts depends on, it will refresh the binding

提交回复
热议问题