View Source
Class MacroParameter
Represents a macro parameter with an editor
Inheritance
System.Object
Assembly: Umbraco.Web.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.Collections.Generic.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 |
|