Свойство | Тип | Описание | |
---|---|---|---|
ContainerWrappableZones | List |
Метод | Описание | |
---|---|---|
GetImageClass ( ImageDisplayTypeEnum imageDisplayType ) : string | ||
ImageSize ( string zoneName ) : string | ||
ImageSize ( string preferredSize, string fallbackToZoneNamed ) : string | ||
IsContainerWrappable ( string zoneName ) : bool | ||
PreviewText ( string text, int numberOfCharacters = 140 ) : string | ||
SelectLanguage ( this request, ContentItem currentPage ) : ContentItem |
Picks the translation best matching the browser-language or the first translation in the list
|
Метод | Описание | |
---|---|---|
GetTranslations ( ContentItem currentPage ) : IEnumerable |
public static GetImageClass ( ImageDisplayTypeEnum imageDisplayType ) : string | ||
imageDisplayType | ImageDisplayTypeEnum | |
Результат | string |
public static ImageSize ( string zoneName ) : string | ||
zoneName | string | |
Результат | string |
public static ImageSize ( string preferredSize, string fallbackToZoneNamed ) : string | ||
preferredSize | string | |
fallbackToZoneNamed | string | |
Результат | string |
public static IsContainerWrappable ( string zoneName ) : bool | ||
zoneName | string | |
Результат | bool |
public static PreviewText ( string text, int numberOfCharacters = 140 ) : string | ||
text | string | |
numberOfCharacters | int | |
Результат | string |
public static SelectLanguage ( this request, ContentItem currentPage ) : ContentItem | ||
request | this | |
currentPage | ContentItem | |
Результат | ContentItem |