Orchard Core 文档翻译 (四)CMS ModulesTitle (OrchardCore.Title)

 

Title (OrchardCore.Title)

标题模块提供Title Part ,容许用户定义内容项的标题。它还定义了ContentItemMetadata方面的DisplayText属性html

Theming

The following shapes are rendered when the Title Part is attached to a content type.翻译

 

Name Display Type Default Location Model Type
TitlePart Detail Header:5 TitlePartViewModel
TitlePart Summary Header:10 TitlePartViewModel

View Model

TitlePartViewModel类中提供了如下属性code

Name Type Description
Title string The title property of the part.
TitlePart TitlePart The TitlePart instance.

原文连接:http://www.javashuo.com/article/p-hkdqmahi-en.html htm

相关文章
相关标签/搜索