Class ValueModelBase
Represents the base model for property values with culture and segment support.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
public abstract class ValueModelBase : IHasCultureAndSegment
Constructors
View SourceValueModelBase()
Declaration
protected ValueModelBase()
Properties
View SourceAlias
Gets or sets the property type alias.
Declaration
[Required]
public string Alias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Culture
Gets or sets the culture code for this value, or null for invariant properties.
Declaration
public string? Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Segment
Gets or sets the segment identifier for this value, or null for non-segmented properties.
Declaration
public string? Segment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the property value.
Declaration
public object? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |