Interface IPropertyBlock
Untyped signature of IPropertyBlock
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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
Declaration
Type BlockType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the block. |
Remarks
Type must inherit BlockData
Extension Methods
EPiServer.Core.IContentExtensions.GetPropertyName<TContent>(TContent, System.Linq.Expressions.Expression<System.Func<TContent, System.Object>>)