Class ContentPropertyDto
Represents a content property from the database
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
public class ContentPropertyDto : ContentPropertyBasic
Properties
View SourceDataType
Declaration
public IDataType DataType { get; set; }
Property Value
| Type | Description |
|---|---|
| IDataType |
Description
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsRequired
Declaration
public bool? IsRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
IsRequiredMessage
Declaration
public string IsRequiredMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Label
Declaration
public string Label { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LabelOnTop
Declaration
public bool? LabelOnTop { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ValidationRegExp
Declaration
public string ValidationRegExp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ValidationRegExpMessage
Declaration
public string ValidationRegExpMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |