TagsEditorAttribute Class

TagsEditorAttribute Class

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

public sealed class TagsEditorAttribute: Attribute, IPropertyModelAttribute

Inheritance  Attribute TagsEditorAttribute

Implements  IPropertyModelAttribute


Name Description
TagsEditorAttribute() Renders a tags editor for this property. Optionally provide a tags factory type that supplies allowed tags.
TagsEditorAttribute(string[]) Renders a tags editor for this property with a predefined list of allowed tags.


Name Description