How to send data updwards? From a Datatemplate to above
Clash Royale CLAN TAG #URR8PPP How to send data updwards? From a Datatemplate to above So I got this page when the user clicks the + and the - image buttons the TotalPrice label binding gets updated,no problem. This is in the Item Template binding. However, I need that whenever a product gets increased or decreased I need for the TotalOrderValue gets updated too. But I got no way to trigger the UpdateTotalOrderValue when something from the listview gets updated. How do I do this? I tried events but couldn't get them to work as it couldn't communicate upwards. This is the from the PAGE viewmodel public decimal? TotalOrderValue { get { return totalOrderValue; } set { totalOrderValue = value; OnPropertyChanged(); } } private void UpdateTotalOrderValue() { foreach (var product in Items) { TotalOrderValue += product.Price; ...