Detailed Description

Used by for example keyframes. This is where selector blocks {..} are used within another.

Inheritance diagram for Css.Units.SelectorBlockUnit:
Css.CssUnit Css.Value Css.Units.PropertyMapUnit

Public Member Functions

 SelectorBlockUnit ()
 
 SelectorBlockUnit (Style style)
 
override string ToString ()
 
List< RuleLoadAsRules ()
 Loads the contents of this block as a set of rules. More...
 
override Value ReadStartValue (CssLexer lexer)
 When a unit declares that it has a start identifier, such as #, this reads the rest of it's value. More...
 

Public Attributes

Style Style
 Underlying style block if this one. More...
 
List< RuleRules
 Used by e.g. and . A list of selector rules in here. More...
 

Protected Member Functions

virtual int OnReadProperty (Style style, string pName, Css.Value value)
 Called when this block reads a property from the CSS stream. More...
 
override Value Clone ()
 Duplicates this value. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Css.Value
static Css.Value Load (string text)
 
- Protected Attributes inherited from Css.Value
ValueType Type_ =ValueType.Null
 The type of value this is. More...
 
- Static Package Attributes inherited from Css.Value
static readonly Value Empty =new Units.DecimalUnit(0)
 Represents an empty value. More...
 
- Properties inherited from Css.CssUnit
virtual string[] PreText [get]
 The set of text strings that indicate this unit is about to appear in the CSS stream. #, " etc. More...
 
virtual string[] PostText [get]
 The set of text strings that indicate this unit has just appeared in the CSS stream. px,%,cm etc. More...
 

Constructor & Destructor Documentation

Css.Units.SelectorBlockUnit.SelectorBlockUnit ( )
inline
Css.Units.SelectorBlockUnit.SelectorBlockUnit ( Style  style)
inline

Member Function Documentation

override Value Css.Units.SelectorBlockUnit.Clone ( )
inlineprotectedvirtual

Duplicates this value.

Returns
A duplicated copy of this value. Note that if this value has inner values, they are copied too.

Reimplemented from Css.Value.

List<Rule> Css.Units.SelectorBlockUnit.LoadAsRules ( )
inline

Loads the contents of this block as a set of rules.

virtual int Css.Units.SelectorBlockUnit.OnReadProperty ( Style  style,
string  pName,
Css.Value  value 
)
inlineprotectedvirtual

Called when this block reads a property from the CSS stream.

Reimplemented in Css.Units.PropertyMapUnit.

override Value Css.Units.SelectorBlockUnit.ReadStartValue ( CssLexer  lexer)
inlinevirtual

When a unit declares that it has a start identifier, such as #, this reads the rest of it's value.

Reimplemented from Css.Value.

override string Css.Units.SelectorBlockUnit.ToString ( )
inline

Member Data Documentation

List<Rule> Css.Units.SelectorBlockUnit.Rules

Used by e.g. and . A list of selector rules in here.

Style Css.Units.SelectorBlockUnit.Style

Underlying style block if this one.