Search Results for

    Show / Hide Table of Contents
    View Source

    Class MacroDisplay

    The macro display model

    Inheritance
    System.Object
    EntityBasic
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "dictionary", Namespace = "")]
    public class MacroDisplay : EntityBasic, INotificationModel

    Constructors

    View Source

    MacroDisplay()

    Initializes a new instance of the MacroDisplay class.

    Declaration
    public MacroDisplay()

    Properties

    View Source

    CacheByPage

    Gets or sets a value indicating whether the macro should be cached by page

    Declaration
    [DataMember(Name = "cacheByPage")]
    public bool CacheByPage { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    CacheByUser

    Gets or sets a value indicating whether the macro should be cached by user

    Declaration
    [DataMember(Name = "cacheByUser")]
    public bool CacheByUser { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    CachePeriod

    Gets or sets the cache period.

    Declaration
    [DataMember(Name = "cachePeriod")]
    public int CachePeriod { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    Notifications

    Declaration
    [DataMember(Name = "notifications")]
    public List<BackOfficeNotification> Notifications { get; }
    Property Value
    Type Description
    List<BackOfficeNotification>
    View Source

    Parameters

    Gets or sets the parameters.

    Declaration
    [DataMember(Name = "parameters")]
    public IEnumerable<MacroParameterDisplay> Parameters { get; set; }
    Property Value
    Type Description
    IEnumerable<MacroParameterDisplay>
    View Source

    RenderInEditor

    Gets or sets a value indicating whether the macro should be rendered a rich text editor.

    Declaration
    [DataMember(Name = "renderInEditor")]
    public bool RenderInEditor { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    UseInEditor

    Gets or sets a value indicating whether the macro can be used in a rich text editor.

    Declaration
    [DataMember(Name = "useInEditor")]
    public bool UseInEditor { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    View

    Gets or sets the view.

    Declaration
    [DataMember(Name = "view")]
    public string View { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MacroDisplay()
    • Properties
      • CacheByPage
      • CacheByUser
      • CachePeriod
      • Notifications
      • Parameters
      • RenderInEditor
      • UseInEditor
      • View
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX