C# 클래스 OxxCommerceStarterKit.Web.Business.Rendering.ContentAreaWithDefaultsRenderer

Extends the default ContentAreaRenderer to apply custom CSS classes to each ContentFragment.
상속: ContentAreaRenderer
파일 보기 프로젝트 열기: episerver/Commerce-Demo-Kit

보호된 메소드들

메소드 설명
GetContentAreaItemCssClass ( HtmlHelper htmlHelper, ContentAreaItem contentAreaItem ) : string
GetDefaultDisplayOption ( IContent content ) : string

Checks each content item to see if it supports a default tag to use as size if the editor has not specified a default size.

비공개 메소드들

메소드 설명
GetCssClassForTag ( string tagName ) : string

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

GetTypeSpecificCssClasses ( IContent content ) : string

메소드 상세

GetContentAreaItemCssClass() 보호된 메소드

protected GetContentAreaItemCssClass ( HtmlHelper htmlHelper, ContentAreaItem contentAreaItem ) : string
htmlHelper HtmlHelper
contentAreaItem ContentAreaItem
리턴 string

GetDefaultDisplayOption() 보호된 메소드

Checks each content item to see if it supports a default tag to use as size if the editor has not specified a default size.
protected GetDefaultDisplayOption ( IContent content ) : string
content IContent
리턴 string