Search Results for

    Show / Hide Table of Contents
    View Source

    Class StylesheetProperty

    Represents a Stylesheet Property

    Inheritance
    object
    BeingDirtyBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [Serializable]
    [DataContract(IsReference = true)]
    public class StylesheetProperty : BeingDirtyBase, IValueObject, IStylesheetProperty, IRememberBeingDirty, ICanBeDirty
    Remarks

    Properties are always formatted to have a single selector, so it can be used in the backoffice

    Constructors

    View Source

    StylesheetProperty(string, string, string)

    Declaration
    public StylesheetProperty(string name, string alias, string value)
    Parameters
    Type Name Description
    string name
    string alias
    string value

    Properties

    View Source

    Alias

    This is the CSS Selector

    Declaration
    public string Alias { get; set; }
    Property Value
    Type Description
    string
    View Source

    Name

    The CSS rule name that can be used by Umbraco in the back office

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    View Source

    Value

    The CSS value for the selector

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX