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

Interface IContentAreaItemAttributeAssembler

Constructs client side edit activation attributes for ContentAreaItems.

Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IContentAreaItemAttributeAssembler

Methods

GetAttributes(ContentAreaItem, Boolean, Boolean)

Gets a dictionary containing markup attributes necessary for supporting editable ContentAreaItems in rendered markup.

Declaration
IDictionary<string, string> GetAttributes(ContentAreaItem contentAreaItem, bool isRenderedInEditMode, bool hasRenderer)
Parameters
Type Name Description
ContentAreaItem contentAreaItem

The content area item to assemble attributes for.

System.Boolean isRenderedInEditMode

set to true when the fragment is rendered in edit mode.

System.Boolean hasRenderer

A value stating whether a renderer exists for the fragment.

Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

A dictionary with attribute names and values for a content fragment

Extension Methods