Search Results for

    Show / Hide Table of Contents
    View Source

    Class GetAvailableCompositionsFilter

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public class GetAvailableCompositionsFilter

    Properties

    View Source

    ContentTypeId

    Declaration
    public int ContentTypeId { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    FilterContentTypes

    This is normally an empty list but if additional content type aliases are passed in, any content types containing those aliases will be filtered out along with any content types that have matching property types that are included in the filtered content types

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

    FilterPropertyTypes

    This is normally an empty list but if additional property type aliases are passed in, any content types that have these aliases will be filtered out. This is required because in the case of creating/modifying a content type because new property types being added to it are not yet persisted so cannot be looked up via the db, they need to be passed in.

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

    IsElement

    Wether the content type is currently marked as an element type

    Declaration
    public bool IsElement { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • ContentTypeId
      • FilterContentTypes
      • FilterPropertyTypes
      • IsElement
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX