Class DataTypeConfigurationFieldDisplay
Represents a datatype configuration field model for editing.
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "preValue", Namespace = "")]
public class DataTypeConfigurationFieldDisplay : DataTypeConfigurationFieldSave
Properties
View SourceConfig
This allows for custom configuration to be injected into the pre-value editor
Declaration
[DataMember(Name = "config")]
public IDictionary<string, object>? Config { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IDictionary<System.String, System.Object>> |
Description
The description to display for this pre-value field
Declaration
[DataMember(Name = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HideLabel
Specifies whether to hide the label for the pre-value
Declaration
[DataMember(Name = "hideLabel")]
public bool HideLabel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name to display for this pre-value field
Declaration
[DataMember(Name = "label", IsRequired = true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
View
The view to render for the field
Declaration
[DataMember(Name = "view", IsRequired = true)]
public string View { get; set; }
Property Value
Type | Description |
---|---|
System.String |