Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentAppBadge

    Represents a content app badge

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "badge", Namespace = "")]
    public class ContentAppBadge

    Constructors

    View Source

    ContentAppBadge()

    Initializes a new instance of the ContentAppBadge class.

    Declaration
    public ContentAppBadge()

    Properties

    View Source

    Count

    Gets or sets the number displayed in the badge

    Declaration
    [DataMember(Name = "count")]
    public int Count { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    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

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentAppBadge()
    • Properties
      • Count
      • Type
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX