Schlagwort: Property Description

  • Property Description auf GUI ausgeben

    Mit dieser Extension method ist es möglich die Beschreibung einer Property (mittels DataAnnotation) z.B. auf der GUI in WPF auszugeben. /// /// Extends PropertyInfo with a method to show the description of the property in [Description(„HERE!“)] /// ///The property info /// The description text of the property if available. internal static string GetPropertyDescription(this PropertyInfo propertyInfo)…