Css.Units.PropertyMapUnit Class Reference

Detailed Description

Represents an instance of an textual value.

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

Public Attributes

Dictionary< string, Css.ValueProperties =new Dictionary<string,Css.Value>()
 
- Public Attributes inherited from Css.Units.SelectorBlockUnit
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

override 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...
 
- Protected Member Functions inherited from Css.Units.SelectorBlockUnit
override Value Clone ()
 Duplicates this value. More...
 

Properties

override string[] PreText [get]
 Override pre-text such that property map unit doesn't always end up being used. More...
 

Additional Inherited Members

- Public Member Functions inherited from Css.Units.SelectorBlockUnit
 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...
 
- 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...
 

Member Function Documentation

override Value Css.Units.PropertyMapUnit.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.

override int Css.Units.PropertyMapUnit.OnReadProperty ( Style  style,
string  pName,
Css.Value  value 
)
inlineprotectedvirtual

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

Reimplemented from Css.Units.SelectorBlockUnit.

Member Data Documentation

Dictionary<string,Css.Value> Css.Units.PropertyMapUnit.Properties =new Dictionary<string,Css.Value>()

Property Documentation

override string [] Css.Units.PropertyMapUnit.PreText
get

Override pre-text such that property map unit doesn't always end up being used.