View Source
Class ContentItemDisplay
A model representing a content item to be displayed in the back office
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class ContentItemDisplay : object, INotificationModel, IErrorModel
Constructors
View Source
ContentItemDisplay()
Declaration
public ContentItemDisplay()
Properties
View Source
AdditionalData
A collection of extra data that is available for this specific entity/entity type
Declaration
public IDictionary<string, object> AdditionalData { get; }
Property Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
View Source
AllowedActions
The allowed 'actions' based on the user's permissions - Create, Update, Publish, Send to publish
Declaration
public IEnumerable<string> AllowedActions { get; set; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
View Source
AllowedTemplates
Declaration
public IDictionary<string, string> AllowedTemplates { get; set; }
Property Value
Type |
Description |
IDictionary<System.String, System.String> |
|
View Source
AllowPreview
Determines whether previewing is allowed for this node
Declaration
public bool AllowPreview { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
ContentApps
Declaration
public IEnumerable<ContentApp> ContentApps { get; set; }
Property Value
View Source
ContentDto
The DTO object used to gather all required content data including data type information etc... for use with validation - used during inbound model binding
Declaration
public ContentPropertyCollectionDto ContentDto { get; set; }
Property Value
View Source
ContentTypeAlias
Declaration
public string ContentTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ContentTypeId
Declaration
public int ContentTypeId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
ContentTypeKey
Declaration
public Guid ContentTypeKey { get; set; }
Property Value
View Source
ContentTypeName
The name of the content type
Declaration
public string ContentTypeName { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
DocumentType
Declaration
public ContentTypeBasic DocumentType { get; set; }
Property Value
View Source
Errors
This is used for validation of a content item.
Declaration
public IDictionary<string, object> Errors { get; set; }
Property Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
View Source
Icon
Declaration
public string Icon { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Id
Declaration
public int Id { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
IsBlueprint
Declaration
public bool IsBlueprint { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsChildOfListView
Property indicating if this item is part of a list view parent
Declaration
public bool IsChildOfListView { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsContainer
Indicates if the content is configured as a list view container
Declaration
public bool IsContainer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsElement
Indicates if the content is configured as an element
Declaration
public bool IsElement { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Key
This is the unique Id stored in the database - but could also be the unique id for a custom membership provider
Declaration
public Guid Key { get; set; }
Property Value
View Source
Notifications
This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.
Declaration
public List<BackOfficeNotification> Notifications { get; }
Property Value
View Source
Owner
Declaration
public UserProfile Owner { get; set; }
Property Value
View Source
ParentId
Declaration
public int ParentId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Path
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
PersistedContent
The real persisted content object - used during inbound model binding
Declaration
public IContent PersistedContent { get; set; }
Property Value
View Source
SortOrder
Declaration
public int SortOrder { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
TemplateAlias
Declaration
public string TemplateAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
TemplateId
Declaration
public int TemplateId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Trashed
Declaration
public bool Trashed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
TreeNodeUrl
Property for the entity's individual tree node URL
Declaration
public string TreeNodeUrl { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Udi
Declaration
public Udi Udi { get; set; }
Property Value
View Source
UpdateDate
This is the last updated date for the entire content object regardless of variants
Declaration
public DateTime UpdateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
Updater
Declaration
public UserProfile Updater { get; set; }
Property Value
View Source
Urls
Declaration
public UrlInfo[] Urls { get; set; }
Property Value
View Source
Variants
A collection of content variants
Declaration
public IEnumerable<ContentVariantDisplay> Variants { get; set; }
Property Value