DisplayNameAttribute Class

DisplayNameAttribute Class

Sets the label for the property editor in the Redakt backoffice. If omitted, the label will be generated from the property name.

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)]
public sealed class DisplayNameAttribute: Attribute, IPropertyModelAttribute, IPageModelAttribute, IContentModelAttribute

Inheritance  Attribute DisplayNameAttribute

Implements  IPropertyModelAttribute, IPageModelAttribute, IContentModelAttribute

Constructors

Name Description
DisplayNameAttribute(string)

Methods

Name Description
Apply(PropertyDefinition)
Apply(PageDefinition)
Apply(ContentDefinition)