Class StylesheetProperty
Represents a Stylesheet Property
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class StylesheetProperty : BeingDirtyBase, IValueObject, IStylesheetProperty, IRememberBeingDirty, ICanBeDirtyRemarks
Properties are always formatted to have a single selector, so it can be used in the backoffice
Constructors
View SourceStylesheetProperty(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 SourceAlias
This is the CSS Selector
Declaration
public string Alias { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
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 | 
Value
The CSS value for the selector
Declaration
public string Value { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String |