IconAttribute Class

IconAttribute Class

Sets the icon to be displayed for a page, content item or property in the Redakt back office. If not specified, default icons will be selected.

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

Inheritance  Attribute IconAttribute

Implements  IPropertyModelAttribute, IContentModelAttribute, IPageModelAttribute

Constructors

Name Description
IconAttribute(string)

Properties

Name Description
Url

Methods

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