title: Set display name to value of another property - MVC3 Data Annotations
body: <p>Is it possible to set the DisplayName Data Attribute to the value of another property in a viewmodel?</p>
  
  <pre><code>public class FieldModel
  {
      public string DisplayText { get; set; }
      public bool Mandatory { get; set; }
      public string DataType { get; set; }
      public string HelpText { get; set; }
  
      [DisplayName(this.DisplayText)]
      public string Value { get; set; }
  }
  </code></pre>