Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeEditingModelBase<TPropertyType, TPropertyTypeContainer>

    This is the common model for all content types, Documents, Media, Members. All the properties are common across all content types. Additionally most properties of the property types are shared as well.

    To allow for common validation and such, the property types are required to inherit from the same base. The same goes for the property type containers. (I.E Tabs and Groups)

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentTypeEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class ContentTypeEditingModelBase<TPropertyType, TPropertyTypeContainer>
        where TPropertyType : PropertyTypeModelBase where TPropertyTypeContainer : PropertyTypeContainerModelBase
    Type Parameters
    Name Description
    TPropertyType

    The type of the property types, I.E ContentTypePropertyTypeModel.

    TPropertyTypeContainer

    The type of the content type containers, I.E ContentTypePropertyContainerModel.

    Properties

    View Source

    Alias

    Declaration
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    AllowedAsRoot

    Declaration
    public bool AllowedAsRoot { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    AllowedContentTypes

    Declaration
    public IEnumerable<ContentTypeSort> AllowedContentTypes { get; set; }
    Property Value
    Type Description
    IEnumerable<ContentTypeSort>
    View Source

    Compositions

    Declaration
    public IEnumerable<Composition> Compositions { get; set; }
    Property Value
    Type Description
    IEnumerable<Composition>
    View Source

    Containers

    Declaration
    public IEnumerable<TPropertyTypeContainer> Containers { get; set; }
    Property Value
    Type Description
    IEnumerable<TPropertyTypeContainer>
    View Source

    Description

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Icon

    Declaration
    public string Icon { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    IsElement

    Declaration
    public bool IsElement { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    ListView

    Declaration
    public Guid? ListView { get; set; }
    Property Value
    Type Description
    System.Nullable<Guid>
    View Source

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Properties

    Declaration
    public IEnumerable<TPropertyType> Properties { get; set; }
    Property Value
    Type Description
    IEnumerable<TPropertyType>
    View Source

    VariesByCulture

    Declaration
    public bool VariesByCulture { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    VariesBySegment

    Declaration
    public bool VariesBySegment { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Alias
      • AllowedAsRoot
      • AllowedContentTypes
      • Compositions
      • Containers
      • Description
      • Icon
      • IsElement
      • ListView
      • Name
      • Properties
      • VariesByCulture
      • VariesBySegment
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX