View Source
Class ContentVariantDisplay
Represents the variant info for a content item
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentVariant", Namespace = "")]
public class ContentVariantDisplay : ITabbedContent<ContentPropertyDisplay>, IContentProperties<ContentPropertyDisplay>, INotificationModel
Constructors
View Source
ContentVariantDisplay()
Declaration
public ContentVariantDisplay()
Properties
View Source
AllowedActions
Declaration
[DataMember(Name = "allowedActions", IsRequired = true)]
public IEnumerable<string> AllowedActions { get; set; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
View Source
CreateDate
Declaration
[DataMember(Name = "createDate")]
public DateTime CreateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
DisplayName
Declaration
[DataMember(Name = "displayName")]
public string DisplayName { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Language
The language/culture assigned to this content variation
Declaration
[DataMember(Name = "language")]
public Language Language { get; set; }
Property Value
View Source
Name
Declaration
[DataMember(Name = "name", IsRequired = true)]
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Notifications
This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.
Declaration
[DataMember(Name = "notifications")]
public List<BackOfficeNotification> Notifications { get; }
Property Value
View Source
PublishDate
Declaration
[DataMember(Name = "publishDate")]
public DateTime? PublishDate { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
View Source
Segment
Declaration
[DataMember(Name = "segment")]
public string Segment { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
State
Declaration
[DataMember(Name = "state")]
public ContentSavedState State { get; set; }
Property Value
View Source
Tabs
Defines the tabs containing display properties
Declaration
[DataMember(Name = "tabs")]
public IEnumerable<Tab<ContentPropertyDisplay>> Tabs { get; set; }
Property Value
View Source
UpdateDate
Declaration
[DataMember(Name = "updateDate")]
public DateTime UpdateDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
Explicit Interface Implementations
View Source
IContentProperties<ContentPropertyDisplay>.Properties
Internal property used for tests to get all properties from all tabs
Declaration
[IgnoreDataMember]
IEnumerable<ContentPropertyDisplay> IContentProperties<ContentPropertyDisplay>.Properties { get; }
Returns