API ReferenceSandbox.UI

IStyleBlockclass

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

objectIStyleBlock
Namespace
Sandbox.UI
Assembly
Sandbox.System
Declaration
public abstract interface Sandbox.UI.IStyleBlock

Methods2

Showing 2 methods

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

Update a raw style value

ParameterTypeDescription
keystring
valuestring
originalValue = nullstring
Returns:bool

Properties4

Showing 4 properties

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

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; }PUBLICVIRTUALGETSET

The line in the file containing this style block

Returns:int

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

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; }PUBLICVIRTUALGETSET

A list of selectors

Returns:IEnumerable<string>

On this page