Multiplying 2 databound values in XAML

Joined
Jan 10, 2007
Messages
43,898
Location
In The Machine
Good morning.

I have a datatemplate which is being used to format data coming from ADO.

I have a Price datacolumn, which is put into a textbox using

{Binding UnitPrice}

I have a Quantity dataColumn, which is put into a textbox using

{Binding Quantity}



What i want, is another textbox, for the total Price, which is obviously the Unit Price, multiplied by the quantity.


How can I achieve this in XAML?


More...

View All Our Microsft Related Feeds
 
Back
Top