Uses a tags editor for this property in the Redakt back office. Optionally supply a predefined tag list in the constructor or register an ISelectOptionsProvider implementation in the DI container to restrict available tags. If no predefined tags are supplied, the user can enter any value as tags.

[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class TagsEditorAttribute: IContentPropertyAttribute
Inheritance:
ObjectAttributeTagsEditorAttribute
Implements:
IContentPropertyAttribute

Constructors

TagsEditorAttribute() Renders a tags editor for this property. Tags are not predefined and can be freely added by the user.
TagsEditorAttribute(string) Renders a tags editor for this property with a compile-time predefined list of allowed tags.
TagsEditorAttribute(Type) Renders a tags editor for this property with a predefined list of allowed tags, retrieved from the specified options provider.

Methods

Apply(ContentPropertyDefinition)