Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyTypeBasic

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "propertyType")]
    public class PropertyTypeBasic

    Properties

    View Source

    Alias

    Declaration
    [Required]
    [RegularExpression("^([a-zA-Z]\\w.*)$", ErrorMessage = "Invalid alias")]
    [DataMember(Name = "alias")]
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    AllowCultureVariant

    Declaration
    [DataMember(Name = "allowCultureVariant")]
    public bool AllowCultureVariant { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    AllowSegmentVariant

    Declaration
    [DataMember(Name = "allowSegmentVariant")]
    public bool AllowSegmentVariant { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    DataTypeIcon

    Declaration
    [DataMember(Name = "dataTypeIcon")]
    public string DataTypeIcon { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    DataTypeId

    Declaration
    [DataMember(Name = "dataTypeId")]
    [Required]
    public int DataTypeId { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    DataTypeKey

    Declaration
    [DataMember(Name = "dataTypeKey")]
    public Guid DataTypeKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    DataTypeName

    Declaration
    [DataMember(Name = "dataTypeName")]
    public string DataTypeName { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Description

    Declaration
    [DataMember(Name = "description")]
    public string Description { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    GroupId

    Declaration
    [DataMember(Name = "groupId")]
    public int GroupId { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    Id

    Declaration
    [DataMember(Name = "id")]
    public int Id { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    Inherited

    Gets a value indicating whether the property type is inherited through content types composition.

    Declaration
    [DataMember(Name = "inherited")]
    public bool Inherited { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Inherited is true when the property is defined by a content type higher in the composition, and not by the content type currently being edited.

    View Source

    Label

    Declaration
    [DataMember(Name = "label")]
    [Required]
    public string Label { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    LabelOnTop

    Declaration
    [DataMember(Name = "labelOnTop")]
    public bool LabelOnTop { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    SortOrder

    Declaration
    [DataMember(Name = "sortOrder")]
    public int SortOrder { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    Validation

    Declaration
    [DataMember(Name = "validation")]
    public PropertyTypeValidation Validation { get; set; }
    Property Value
    Type Description
    PropertyTypeValidation
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Alias
      • AllowCultureVariant
      • AllowSegmentVariant
      • DataTypeIcon
      • DataTypeId
      • DataTypeKey
      • DataTypeName
      • Description
      • GroupId
      • Id
      • Inherited
      • Label
      • LabelOnTop
      • SortOrder
      • Validation
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX