Api Sandbox UI IStyleBlock
interface

IStyleBlock

public interface IStyleBlock

A CSS rule - ie ".chin { width: 100%; height: 100%; }"

Properties

Name Type Description
FileName virtual String The filename of the file containing this style block (or null if none)
AbsolutePath virtual String The absolute on disk filename for this style block (or null if not on disk)
FileLine virtual Int32 The line in the file containing this style block
SelectorStrings virtual IEnumerable<String> A list of selectors

Methods

virtual List<StyleProperty> GetRawValues()

Get the list of raw style values

virtual Boolean SetRawValue(String key, String value, String originalValue = null)

Update a raw style value

Assembly: Sandbox.System Namespace: Sandbox.UI Full Name: Sandbox.UI.IStyleBlock