NameFormatAttribute Class

NameFormatAttribute Class

Sets the name format for content of this content type for use in the Redakt back office. Insert content property values with property keys (not identifiers) in curly braces (case sensitive), for example: "{FirstName} {LastName}". If omitted, the property display name will be used.

[AttributeUsage(AttributeTargets.Class)]
public sealed class NameFormatAttribute: Attribute, IContentModelAttribute

Inheritance  Attribute NameFormatAttribute

Implements  IContentModelAttribute

Constructors

Name Description
NameFormatAttribute(string)

Methods

Name Description
Apply(ContentDefinition)