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 SourceAlias
Declaration
[DataMember(Name = "alias", IsRequired = true)]
[Required(AllowEmptyStrings = false)]
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
DataTypeKey
Declaration
[DataMember(Name = "dataTypeKey", IsRequired = false)]
public Guid DataTypeKey { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Editor
Declaration
[DataMember(Name = "editor", IsRequired = false)]
public string Editor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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
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 |
PropertyEditor
Used internally during model mapping
Declaration
[IgnoreDataMember]
public IDataEditor PropertyEditor { get; set; }
Property Value
Type | Description |
---|---|
IDataEditor |
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.
SupportsReadOnly
Used internally during model mapping
Declaration
[DataMember(Name = "supportsReadOnly")]
public bool SupportsReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Value
Declaration
[DataMember(Name = "value")]
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |