Class StylesheetProperty
Represents a Stylesheet Property
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class StylesheetProperty : TracksChangesEntityBase, IRememberBeingDirty, ICanBeDirty, IValueObject
Remarks
Properties are always formatted to have a single selector, so it can be used in the backoffice
Constructors
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
Alias
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 |