Class BlockControlBase<TBlock>

Base class for usercontrols that renders BlockData.

Inheritance
System.Object
BlockControlBase<TBlock>
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0
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