<Grid x:Name="LayoutRoot"> <Grid.Resources> <ig:XamCalculationManager x:Key="CalcManager"> </ig:XamCalculationManager> </Grid.Resources> <ig:ItemCalculatorElement x:Name="itemCalcElement" CalculationManager="{StaticResource CalcManager}" Item="{Binding Path=CurrentShippingDetail}"> <ig:ItemCalculatorElement.Calculator> <ig:ItemCalculator ReferenceId="ShippingDetailCalculator"> <ig:ItemCalculator.Calculations> <ig:ItemCalculation TargetProperty="ShipCharge" Formula="([Price] * [Quantity])"/> <ig:ItemCalculation ReferenceId="Total" Formula="([Price] * [Quantity]) + [ShipCharge]"/> </ig:ItemCalculator.Calculations> </ig:ItemCalculator> </ig:ItemCalculatorElement.Calculator> </ig:ItemCalculatorElement> <!-- Note that the following 2 TextBlocks will have the Text properties set to the same value. The first TextBlock binds its Text property to the calculator's Results dictionary. The second one takes advantage of the ItemCalculator's ReferenceId (which is optional) to pick up the Total by setting a Formula--> <TextBlock x:Name="Result0" Text="Total From Results”/> <TextBlock x:Name="Result1" Text="{Binding ElementName=itemCalcElement, Path=Calculator.Results[Total].Value}"/> <TextBlock Text="TotalFromReferenceID"/> <TextBlock x:Name="Result2" ig:XamCalculationManager.CalculationManager="{StaticResource CalcManager}"> <ig:XamCalculationManager.ControlSettings> <ig:ControlCalculationSettings Formula="[ShippingDetailCalculator/Total]" /> </ig:XamCalculationManager.ControlSettings> </TextBlock> </Grid>