Class BlockValue
Represents a block value.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
public abstract class BlockValue
Properties
View SourceContentData
Gets or sets the content data.
Declaration
public List<BlockItemData> ContentData { get; set; }
Property Value
Type | Description |
---|---|
List<BlockItemData> | The content data. |
Expose
Gets or sets the availability of blocks per variation.
Declaration
public IList<BlockItemVariation> Expose { get; set; }
Property Value
Type | Description |
---|---|
IList<BlockItemVariation> |
Remarks
Only applicable for block level variance.
Layout
Gets or sets the layout for specific property editors.
Declaration
public IDictionary<string, IEnumerable<IBlockLayoutItem>> Layout { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, IEnumerable<IBlockLayoutItem>> | The layout. |
PropertyEditorAlias
Gets the property editor alias of the current layout.
Declaration
public abstract string PropertyEditorAlias { get; }
Property Value
Type | Description |
---|---|
System.String | The property editor alias of the current layout. |
SettingsData
Gets or sets the settings data.
Declaration
public List<BlockItemData> SettingsData { get; set; }
Property Value
Type | Description |
---|---|
List<BlockItemData> | The settings data. |
Methods
View SourceSupportsBlockLayoutAlias(String)
Declaration
public virtual bool SupportsBlockLayoutAlias(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias |
Returns
Type | Description |
---|---|
System.Boolean |