Class BlockValue<TLayout>
Represents a block value.
Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
public abstract class BlockValue<TLayout> : BlockValue where TLayout : IBlockLayoutItem
Type Parameters
Name | Description |
---|---|
TLayout |
Methods
View SourceGetLayouts()
Gets the layouts of the current property editor.
Declaration
public IEnumerable<TLayout>? GetLayouts()
Returns
Type | Description |
---|---|
System.Nullable<IEnumerable<TLayout>> | The layouts. |