How to bind the sum of product of receivables against the number of tickets and ticket price? , of which the fare has been involved in objectdataprovider binding
Homework needs have been met, but I still want to fully use the binding mechanism completely homework
CodePudding user response:
Help children , the school is winform I self-study WPF
CodePudding user response:
The accounts receivable=price * number; At this time of the xaml binding part of the accounts receivable and accounts receivable corresponding field such as the field name is Receivables We can change the definition of Receivables attribute Public double Receivables {get=& gt; Receivables; The set=& gt; Receivables=value; } Instead of Public double Receivables {get=& gt; Ticket number *; The set=& gt; Receivables=value; }