class StyleBlock

in global :: Sandbox . UI

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


public StyleSelector[] Selectors { get; }

A list of appropriate selectors for this block (ie ".button")

public IEnumerable<string> SelectorStrings { get; }

A list of selectors for this block

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

Update a raw style value

public string FileName { get; }

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

public string AbsolutePath { get; }

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

public int FileLine { get; }

The line in the file containing this style block

public Styles Styles

The styles that are defined in this block

public bool TestBroadphase( IStyleTarget target )

Tests a few broadphase conditions to build a list of feasible styleblocks tailored for a panel.

public List<IStyleBlock.StyleProperty> GetRawValues( )

😔 No documentation found.

public StyleSelector Test( IStyleTarget target )

😔 No documentation found.

public bool SetSelector( string selector, StyleBlock parent = null )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public StyleBlock( )

😔 No documentation found.