Orchard Core 文檔翻譯 (四)CMS ModulesTitle (OrchardCore.Title)
阿新 • • 發佈:2018-10-06
prop tle ron mode con ont itl scrip ret
Title (OrchardCore.Title)
標題模塊提供Title Part ,允許用戶定義內容項的標題。它還定義了ContentItemMetadata方面的DisplayText屬性
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類中提供了以下屬性
Name | Type | Description |
---|---|---|
Title |
string |
The title property of the part. |
TitlePart |
TitlePart |
The TitlePart instance. |
Orchard Core 文檔翻譯 (四)CMS ModulesTitle (OrchardCore.Title)