Class ContentAppBadge
Represents a content app badge
Inheritance
System.Object
Namespace: Umbraco.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "badge", Namespace = "")]
public class ContentAppBadge
Constructors
View SourceContentAppBadge()
Initializes a new instance of the ContentAppBadge class.
Declaration
public ContentAppBadge()
Properties
View SourceCount
Gets or sets the number displayed in the badge
Declaration
[DataMember(Name = "count")]
public int Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Gets or sets the type of badge to display
Declaration
[DataMember(Name = "type")]
public ContentAppBadgeType Type { get; set; }
Property Value
Type | Description |
---|---|
ContentAppBadgeType |
Remarks
This controls the background color of the badge.
Warning will display a dark yellow badge
Alert will display a red badge
Default will display a turquoise badge