Table of Contents

Class ContentItemPropertiesModel

Namespace
Kentico.Xperience.Admin.Base.UIPages
Assembly
Kentico.Xperience.Admin.Base.dll

Class represents properties configuration of the content item. The model is defined for usage in the properties tab UI in a content hub application.

[FormCategory(Label = "{$contentengine.contenthub.properties.security.category$}", Order = 0)]
[FormCategory(Label = "{$contentengine.contenthub.properties.information.category$}", Order = 2)]
public sealed class ContentItemPropertiesModel
Inheritance
object
ContentItemPropertiesModel
Extension Methods

Constructors

ContentItemPropertiesModel()

public ContentItemPropertiesModel()

Properties

CodeName

Content item code name.

[TextInputComponent(Label = "{$contentengine.contenthub.properties.information.codeName$}", Order = 13)]
public string CodeName { get; set; }

Property Value

string

ContentType

Content item content type.

[TextWithLabelComponent(Label = "{$contentengine.contenthub.properties.information.contentType$}", Order = 7)]
public string ContentType { get; set; }

Property Value

string

Created

Time of creation of content item.

[Obsolete("Use CreatedWhen instead.")]
public string Created { get; set; }

Property Value

string

CreatedBy

Name of user which created the content item.

[TextWithLabelComponent(Label = "{$contentengine.contenthub.properties.information.createdBy$}", Order = 8)]
public string CreatedBy { get; set; }

Property Value

string

CreatedWhen

Time of creation of content item.

[DateTimeStringComponent(Label = "{$contentengine.contenthub.properties.information.CreatedWhen$}", Order = 9)]
public DateTime? CreatedWhen { get; set; }

Property Value

DateTime?

DisplayName

Display name of content item.

[TextWithLabelComponent(Label = "{$contentengine.contenthub.properties.information.displayName$}", Order = 3)]
public string DisplayName { get; set; }

Property Value

string

FirstPublished

First publishing time for the content item.

[Obsolete("Use FirstPublishedWhen instead.")]
public string FirstPublished { get; set; }

Property Value

string

FirstPublishedWhen

First publishing time for the content item.

[DateTimeStringComponent(Label = "{$contentengine.contenthub.properties.information.firstPublished$}", Order = 5)]
public DateTime? FirstPublishedWhen { get; set; }

Property Value

DateTime?

IsSecured

Flag indicating if content item requires authentication.

[CheckBoxComponent(Label = "{$contentengine.contenthub.properties.security.requiresauthentication$}", Tooltip = "{$contentengine.contenthub.properties.security.issecured.tooltip$}", Order = 1)]
public bool IsSecured { get; set; }

Property Value

bool

LanguageVariant

Content item language variant.

[TextWithLabelComponent(Label = "{$contentengine.contenthub.properties.information.languagevariant$}", Order = 12)]
public string LanguageVariant { get; set; }

Property Value

string

LastModified

Time of last modification of content item.

[Obsolete("Use LastModifiedWhen instead.")]
public string LastModified { get; set; }

Property Value

string

LastModifiedBy

Name of user which last modified the content item.

[TextWithLabelComponent(Label = "{$contentengine.contenthub.properties.information.lastModifiedBy$}", Order = 10)]
public string LastModifiedBy { get; set; }

Property Value

string

LastModifiedWhen

Time of last modification of content item.

[DateTimeStringComponent(Label = "{$contentengine.contenthub.properties.information.lastModifiedWhen$}", Order = 11)]
public DateTime? LastModifiedWhen { get; set; }

Property Value

DateTime?

LastPublished

Latest publishing time for the content item.

[Obsolete("Use LastPublishedWhen instead.")]
public string LastPublished { get; set; }

Property Value

string

LastPublishedWhen

Latest publishing time for the content item.

[DateTimeStringComponent(Label = "{$contentengine.contenthub.properties.information.lastPublished$}", Order = 6)]
public DateTime? LastPublishedWhen { get; set; }

Property Value

DateTime?

Published

Published state.

[TextWithLabelComponent(Label = "{$contentengine.contenthub.properties.information.published$}", Order = 4)]
public string Published { get; set; }

Property Value

string