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

Class BlockControlBase<TBlock>

Base class for usercontrols that renders BlockData.

Inheritance
System.Object
BlockControlBase<TBlock>
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class BlockControlBase<TBlock> : ContentControlBase<TBlock>, IRenderSettings, IContentDataControl<TBlock>, IRenderTemplate<TBlock>, IContentDataControl, IRenderTemplate where TBlock : BlockData
Type Parameters
Name Description
TBlock

The type of the block.

Constructors

BlockControlBase()

Declaration
public BlockControlBase()

Properties

CurrentBlock

Gets or sets the block that the usercontrol is associated with.

Declaration
public TBlock CurrentBlock { get; set; }
Property Value
Type Description
TBlock
Remarks

This property is equivalent as using CurrentData

Implements

Extension Methods