Interface IPropertyBlock
Untyped signature of IPropertyBlock
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface IPropertyBlock : IContentData
Properties
Block
Gets or sets the BlockData for the instance.
Declaration
BlockData Block { get; set; }
Property Value
Type | Description |
---|---|
BlockData | The block. |
BlockPropertyDefinitionTypeID
Gets the ID for the BlockPropertyDefinitionType that this property instance corresponds to.
Declaration
int BlockPropertyDefinitionTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The block property definition type ID. |
Remarks
This is mainly used for Dynamic Blocks. For ContentType properties the PropertyDefinition for the property can be used to get PropertyDefinitionType
BlockType
Gets the type of the block as it is registered with in BlockTypeRepository.
Declaration
Type BlockType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the block. |
Remarks
Type must inherit BlockData