Class BlockControlBase<TBlock>
Base class for usercontrols that renders BlockData.
Inheritance
System.Object
ContentControlBase<PageData, TBlock>
ContentControlBase<TBlock>
BlockControlBase<TBlock>
Inherited Members
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
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