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

 

Title (OrchardCore.Title)

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

Theming

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

NameDisplay TypeDefault LocationModel Type
TitlePart Detail Header:5 TitlePartViewModel
TitlePart Summary Header:10 TitlePartViewModel

View Model

TitlePartViewModel类中提供了以下属性

NameTypeDescription
Title string The title property of the part.
TitlePart TitlePart The TitlePart instance.

原文链接:https://www.cnblogs.com/Qbit/p/9746464.html 

原文地址:https://www.cnblogs.com/Qbit/p/9746464.html