I have an enumeration in my project and I\'ve created a custom editor template for this enumeration. So, now any model I have with a property with a type of this enumeration, wi
You can get the property name in the editor template via
@{ string name = ViewData.ModelMetadata.PropertyName; }