Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyTypeModelBase

    Represents the base model for a property type in a content type.

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.ViewModels.ContentType
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class PropertyTypeModelBase

    Constructors

    View Source

    PropertyTypeModelBase()

    Declaration
    protected PropertyTypeModelBase()

    Properties

    View Source

    Alias

    Gets or sets the alias of the property type.

    Declaration
    [Required]
    public string Alias { get; set; }
    Property Value
    Type Description
    string
    View Source

    Appearance

    Gets or sets the UI appearance settings for the property type.

    Declaration
    public PropertyTypeAppearance Appearance { get; set; }
    Property Value
    Type Description
    PropertyTypeAppearance
    View Source

    Container

    Gets or sets a reference to the container that organizes this property type.

    Declaration
    public ReferenceByIdModel? Container { get; set; }
    Property Value
    Type Description
    ReferenceByIdModel
    View Source

    DataType

    Gets or sets the data type reference associated with this property type.

    Declaration
    public ReferenceByIdModel DataType { get; set; }
    Property Value
    Type Description
    ReferenceByIdModel
    View Source

    Description

    Gets or sets the textual description of the property type.

    Declaration
    public string? Description { get; set; }
    Property Value
    Type Description
    string
    View Source

    Id

    Gets or sets the unique identifier for the property type.

    Declaration
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    Name

    Gets or sets the name of the property type.

    Declaration
    [Required]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    SortOrder

    Gets or sets the sort order of the property type.

    Declaration
    public int SortOrder { get; set; }
    Property Value
    Type Description
    int
    View Source

    Validation

    Gets or sets the validation settings for the property type.

    Declaration
    public PropertyTypeValidation Validation { get; set; }
    Property Value
    Type Description
    PropertyTypeValidation
    View Source

    VariesByCulture

    Gets or sets a value indicating whether the value of the property type varies by culture.

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

    VariesBySegment

    Gets or sets a value indicating whether the property type varies by segment, such as language or culture segment.

    Declaration
    public bool VariesBySegment { get; set; }
    Property Value
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX