I have got a class named StockItem.
The class contains some instance properties including Quantity.
The class contains some static properties including Cart and CartTotalPrice.
Cart type is ObservableCollection.
CartTotalPrice returns the cart total price.
I have created a UserControl named UCOrder allowing the user to add items into the cart.
I have created another UserControl allowing the user to change the quantity of a cart item.
I have declared a TextBlock in the markup of UCOrder.
I want to bind the TextBlock to the static property StockItem.CartTotalPrice so the TextBlock displays the current CartTotalPrice.
How can I do it ?
Any help will be greatly appreciated