Class BlockPropertyDefinitionType
Represents a property definition type for a property of type Block.
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class BlockPropertyDefinitionType : PropertyDefinitionType, IReadOnly<PropertyDefinitionType>, IReadOnly
Constructors
BlockPropertyDefinitionType()
Initializes a new instance of the BlockPropertyDefinitionType class.
Declaration
public BlockPropertyDefinitionType()
Properties
BlockType
Gets or sets the reference to the BlockTypeReference type of the block.
Declaration
public BlockTypeReference BlockType { get; set; }
Property Value
Type | Description |
---|---|
BlockTypeReference | The type of the block. |
DataType
The PropertyDataType used by this type.
Declaration
public override PropertyDataType DataType { get; set; }
Property Value
Type | Description |
---|---|
PropertyDataType | Will always be Block. |
Overrides
Remarks
The setter is only available for internal techical reasons. It should never be set to anything except Block.