s&box docs
API ReferenceSandbox.UI

public abstract interface Sandbox.UI.IStyleBlock

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

Methods

Showing 2 methods

public virtual System.Collections.Generic.List`1<Sandbox.UI.IStyleBlock.StyleProperty> GetRawValues()

Get the list of raw style values

public virtual bool SetRawValue(string key, string value, string originalValue = null)

Update a raw style value

Parameters

  • originalValue: Default: null

Properties

Showing 4 properties

public virtual string Sandbox.UI.IStyleBlock.AbsolutePath { get; set; }

The absolute on disk filename for this style block (or null if not on disk)

public virtual int Sandbox.UI.IStyleBlock.FileLine { get; set; }

The line in the file containing this style block

public virtual string Sandbox.UI.IStyleBlock.FileName { get; set; }

The filename of the file containing this style block (or null if none)

public virtual System.Collections.Generic.IEnumerable`1<string> Sandbox.UI.IStyleBlock.SelectorStrings { get; set; }

A list of selectors

Metadata

FieldValue
NamespaceSandbox.UI
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.UI.IStyleBlock

On this page