title: value binding to property in cshtml
body: <p>I have a view model having 2 properties: one is a list of items class objects and the other one is an object of order class. I want to show the sum of the price calculated from items' list in <code>order.price</code></p>
  
  <p>Here is view model:</p>
  
  <pre><code>public class PlaceOrderViewModel
  {
      public Orders Order { get; set; }
      public List&lt;Items&gt; Items { get; set; }
  }
  </code></pre>
  
  <p>Here is items model:</p>
  
  <pre><code>public class Items
  {
      public long Id { get; set; }
      public long OrderId { get; set; }
      public int ItemType { get; set; }
      public string Detail { get; set; }
      public int ItemsCount { get; set; }
      public int Price { get; set; }
  }
  </code></pre>
  
  <p>I am looking for something like this,</p>
  
  <pre><code>@Html.DisplayFor(model =&gt; model.Order.Price, new { Value = @Model.Items.Sum(s =&gt; s.Price)})
  </code></pre>
  
  <p>I did try this but this doesn't work for me.</p>
  
  <p>I want to bind the sum value with the <code>order.price</code> property.
  Any help?</p>