View Source
Class MacroContent
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class MacroContent
Properties
View Source
Control
Declaration
public Control Control { get; set; }
Property Value
Type |
Description |
System.Web.UI.Control |
|
View Source
ControlId
Declaration
public string ControlId { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Date
Declaration
public DateTime Date { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
View Source
Empty
Declaration
public static MacroContent Empty { get; }
Property Value
View Source
IsControl
Declaration
public bool IsControl { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsText
Declaration
public bool IsText { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
GetAsControl()
Declaration
public Control GetAsControl()
Returns
Type |
Description |
System.Web.UI.Control |
|
View Source
GetAsText()
Declaration
public string GetAsText()
Returns
Type |
Description |
System.String |
|