View Source
Class BlockEditorData<TValue, TLayout>
Convertable block data from json
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class BlockEditorData<TValue, TLayout>
where TValue : BlockValue<TLayout>, new()
where TLayout : IBlockLayoutItem
Type Parameters
Name |
Description |
TValue |
|
TLayout |
|
Constructors
View Source
BlockEditorData(IEnumerable<ContentAndSettingsReference>, TValue)
Declaration
public BlockEditorData(IEnumerable<ContentAndSettingsReference> references, TValue blockValue)
Parameters
Properties
View Source
BlockValue
Returns the reference to the original BlockValue
Declaration
public TValue BlockValue { get; }
Property Value
View Source
Empty
Declaration
public static BlockEditorData<TValue, TLayout> Empty { get; }
Property Value
View Source
Layout
Returns the layout for this specific property editor
Declaration
public IEnumerable<TLayout>? Layout { get; }
Property Value
Type |
Description |
System.Nullable<IEnumerable<TLayout>> |
|
View Source
References
Declaration
public List<ContentAndSettingsReference> References { get; }
Property Value