Search Results for

    Show / Hide Table of Contents
    View Source

    Class StylesheetProperty

    Represents a Stylesheet Property

    Inheritance
    System.Object
    BeingDirtyBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [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
    System.String name
    System.String alias
    System.String value

    Properties

    View Source

    Alias

    This is the CSS Selector

    Declaration
    public string Alias { get; set; }
    Property Value
    Type Description
    System.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
    System.String
    View Source

    Value

    The CSS value for the selector

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • StylesheetProperty(String, String, String)
    • Properties
      • Alias
      • Name
      • Value
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX