Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IStylesheet

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IStylesheet : IFile, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Properties

    View Source

    Properties

    Returns a list of umbraco back office enabled stylesheet properties

    Declaration
    IEnumerable<IStylesheetProperty>? Properties { get; }
    Property Value
    Type Description
    System.Nullable<IEnumerable<IStylesheetProperty>>
    Remarks

    An umbraco back office enabled stylesheet property has a special prefix, for example: /** umb_name: MyPropertyName */ p { font-size: 1em; }

    Methods

    View Source

    AddProperty(IStylesheetProperty)

    Adds an Umbraco stylesheet property for use in the back office

    Declaration
    void AddProperty(IStylesheetProperty property)
    Parameters
    Type Name Description
    IStylesheetProperty property
    View Source

    RemoveProperty(String)

    Removes an Umbraco stylesheet property

    Declaration
    void RemoveProperty(string name)
    Parameters
    Type Name Description
    System.String name
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX