Try our conversational search powered by Generative AI!

Interface IContentDataControl<T>

Defines the signature that a webcontrol/usercontrol that renders content data should implement.

Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IContentDataControl<T> : IRenderTemplate<T>, IContentDataControl, IRenderTemplate where T : IContentData
Type Parameters
Name Description
T

The type of content data that is rendering.

Properties

CurrentData

Gets or sets the content data that should be rendered by the control.

Declaration
T CurrentData { get; set; }
Property Value
Type Description
T

The block data.

Extension Methods