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. |