title: How to call Html.Display for a custom object, not the whole Model?
body: <p>I have the following view-model for my MVC3 Razor view:</p>
  
  <pre><code> public class UserProfileModel
   {
       public Person[] Persons { get; set; }
       //some other fields
   }
  </code></pre>
  
  <p>I want to display all the persons in my Razor view like:</p>
  
  <pre><code>foreach (var person in Model.Persons)
  {
  &lt;div&gt;
      @* some custom formatting *@
      @Html.Display(person)
  &lt;/div&gt;
  }
  </code></pre>
  
  <p><code>@Html.Display</code> or <code>@Html.DisplayFor</code> seems to not work for me..</p>
  
  <p>I can create a separate stongly-typed view using <code>Person</code> as a model and call <code>@Html.DisplayForModel</code> there, but is there a way to go without a separate view?</p>