Class DataTypeSave
Represents a datatype model for editing.
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "dataType", Namespace = "")]
public class DataTypeSave : EntityBasic
Properties
View SourceAction
Gets or sets the action to perform.
Declaration
[DataMember(Name = "action", IsRequired = true)]
[Required]
public ContentSaveAction Action { get; set; }
Property Value
Type | Description |
---|---|
ContentSaveAction |
Remarks
Some values (publish) are illegal here.
ConfigurationFields
Gets or sets the datatype configuration fields.
Declaration
[DataMember(Name = "preValues")]
public IEnumerable<DataTypeConfigurationFieldSave>? ConfigurationFields { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IEnumerable<DataTypeConfigurationFieldSave>> |
EditorAlias
Gets or sets the datatype editor.
Declaration
[DataMember(Name = "selectedEditor", IsRequired = true)]
[Required]
public string EditorAlias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PersistedDataType
Gets or sets the persisted data type.
Declaration
[IgnoreDataMember]
public IDataType PersistedDataType { get; set; }
Property Value
Type | Description |
---|---|
IDataType |
PropertyEditor
Gets or sets the property editor.
Declaration
[IgnoreDataMember]
public IDataEditor PropertyEditor { get; set; }
Property Value
Type | Description |
---|---|
IDataEditor |