C# Class Alloy.Business.Rendering.AlloyContentAreaRenderer

Extends the default ContentAreaRenderer to apply custom CSS classes to each ContentFragment.
Inheritance: ContentAreaRenderer
Afficher le fichier Open project: episerver/EPiTranslateFlowDemo

Méthodes protégées

Méthode Description
GetContentAreaItemCssClass ( HtmlHelper htmlHelper, ContentAreaItem contentAreaItem ) : string

Private Methods

Méthode Description
GetCssClassForTag ( string tagName ) : string

Gets a CSS class used for styling based on a tag name (ie a Bootstrap class name)

GetTypeSpecificCssClasses ( ContentAreaItem contentAreaItem, IContentRepository contentRepository ) : string

Method Details

GetContentAreaItemCssClass() protected méthode

protected GetContentAreaItemCssClass ( HtmlHelper htmlHelper, ContentAreaItem contentAreaItem ) : string
htmlHelper HtmlHelper
contentAreaItem ContentAreaItem
Résultat string