Table of Contents

Class ContentTypeSelectionModel

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

Content type selection model used when creating new content item.

public class ContentTypeSelectionModel
Inheritance
object
ContentTypeSelectionModel
Derived
Extension Methods

Properties

ContentFolderID

Gets or sets the ID of the parent folder for the content item.

[RequiredValidationRule]
[VisibleIfSettingsKeyEquals("CMSEnableContentHubFolders", "True", StringComparison.OrdinalIgnoreCase)]
[FormComponentConfiguration(typeof(ContentFolderSelectorConfigurator), "WorkspaceID")]
public int ContentFolderID { get; set; }

Property Value

int

ContentType

Content type of the content item.

[RequiredValidationRule]
public TileSelectorItem ContentType { get; set; }

Property Value

TileSelectorItem

DisplayName

Name of the content item.

[MaxLengthValidationRule(100)]
[RequiredValidationRule]
public string DisplayName { get; set; }

Property Value

string

WorkspaceID

Workspace identifier.

[FormComponentConfiguration(typeof(WorkspaceSelectorConfigurator))]
public string WorkspaceID { get; set; }

Property Value

string