API ReferenceSandbox.UI
IStyleBlockclass
A CSS rule - ie ".chin { width: 100%; height: 100%; }"
object→IStyleBlock
Methods2
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
| Parameter | Type | Description |
|---|---|---|
| key | string | — |
| value | string | — |
| originalValue = null | string | — |
Returns:
bool—No results match this filter.
Properties4
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)
Returns:
string—public virtual int Sandbox.UI.IStyleBlock.FileLine { get; set; }
The line in the file containing this style block
Returns:
int—public virtual string Sandbox.UI.IStyleBlock.FileName { get; set; }
The filename of the file containing this style block (or null if none)
Returns:
string—public virtual System.Collections.Generic.IEnumerable`1<string> Sandbox.UI.IStyleBlock.SelectorStrings { get; set; }
A list of selectors
Returns:
IEnumerable<string>—No results match this filter.