November Happy Hour will be moved to Thursday December 5th.

Class BlockPropertyDefinitionType

Represents a property definition type for a property of type Block.

Inheritance
System.Object
BlockPropertyDefinitionType
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
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.

Implements

Extension Methods