DataGrid Silverlight 3.0 Calculated Value In a Column

Posted on 2010-01-07
Last Modified: 2013-12-17
If I have few columns with double (number), is it possible to have an extra column, for example,

col1.Binding = new Binding("Num1")
col2.Binding = new Binding("Num2")

How can I have an extra column col3 = Num1 * (1 + Num2)?

So that every time user changes value of col1 or col2, value in col3 would automatically show based on calculation.
I mean bind the col3 in such a way to have above calculation as part of col3's binding.

Question by:Ashok
    LVL 26

    Accepted Solution

    LVL 13

    Author Comment


    I think this will work.  I still have to implement it.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now