Help Text attribute

API Reference: HelpTextAttribute Class

The HelpTextAttribute can be applied to content model properties. The attribute specifies the tooltip help text to display for the property in the user interface of the back office application.

The help text will be displayed as an (i) icon left of the property label. The text will show in a tooltip after the content manager hovers over the (i) with the mouse pointer or clicks/presses on the icon.

Usage

Decorate the content model property with the HelpTextAttribute. Pass the help text in the attribute constructor.

Default Convention

If HelpTextAttribute is not specified, no help text tooltip or (i) icon will be displayed for the property.

Example

public class SampleContent: IContentModel
{
    [HelpText("Enter a short introduction text.")]
    public string IntroText { get; set; }
}