London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class BlockControlBase<TBlock>

Base class for usercontrols that renders BlockData.

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