Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPropertyBasic

    Represents a content property to be saved

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

    Properties

    View Source

    Alias

    Declaration
    [DataMember(Name = "alias", IsRequired = true)]
    [Required(AllowEmptyStrings = false)]
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Culture

    The culture of the property

    Declaration
    [DataMember(Name = "culture")]
    public string Culture { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    If this is a variant property then this culture value will be the same as it's variant culture but if this is an invariant property then this will be a null value.

    View Source

    DataTypeKey

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

    Editor

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

    Id

    This is the PropertyData ID

    Declaration
    [DataMember(Name = "id", IsRequired = true)]
    [Required]
    public int Id { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks

    This is not really used for anything

    View Source

    IsSensitive

    Flags the property to denote that it can contain sensitive data

    Declaration
    [DataMember(Name = "isSensitive", IsRequired = false)]
    public bool IsSensitive { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    PropertyEditor

    Used internally during model mapping

    Declaration
    [IgnoreDataMember]
    public IDataEditor PropertyEditor { get; set; }
    Property Value
    Type Description
    IDataEditor
    View Source

    Segment

    The segment of the property

    Declaration
    [DataMember(Name = "segment")]
    public string Segment { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    The segment value of a property can always be null but can only have a non-null value when the property can be varied by segment.

    View Source

    SupportsReadOnly

    Used internally during model mapping

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

    Value

    Declaration
    [DataMember(Name = "value")]
    public object Value { get; set; }
    Property Value
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Alias
      • Culture
      • DataTypeKey
      • Editor
      • Id
      • IsSensitive
      • PropertyEditor
      • Segment
      • SupportsReadOnly
      • Value
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX