Search Results for

    Show / Hide Table of Contents
    View Source

    Class MacroParameter

    Represents a macro parameter with an editor

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

    Properties

    View Source

    Alias

    Declaration
    [DataMember(Name = "alias", IsRequired = true)]
    [Required]
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Configuration

    The configuration for this parameter editor

    Declaration
    [DataMember(Name = "config", IsRequired = true)]
    [Required(AllowEmptyStrings = false)]
    public IDictionary<string, object>? Configuration { get; set; }
    Property Value
    Type Description
    System.Nullable<IDictionary<System.String, System.Object>>
    View Source

    Name

    Declaration
    [DataMember(Name = "name")]
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    SortOrder

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

    Value

    Since we don't post this back this isn't currently really used on the server side

    Declaration
    [DataMember(Name = "value")]
    public object Value { get; set; }
    Property Value
    Type Description
    System.Object
    View Source

    View

    The editor view to render for this parameter

    Declaration
    [DataMember(Name = "view", IsRequired = true)]
    [Required(AllowEmptyStrings = false)]
    public string View { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Alias
      • Configuration
      • Name
      • SortOrder
      • Value
      • View
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX