PowerUI.Css.Properties.FontFamily Class Reference

Detailed Description

Represents the font-family: css property.

Inheritance diagram for PowerUI.Css.Properties.FontFamily:
PowerUI.Css.CssProperty

Public Member Functions

 FontFamily ()
 
override string[] GetProperties ()
 The set of all properties that this one will handle. Usually just one. e.g. "v-align", "vertical-align". More...
 
override void Apply (ComputedStyle style, Value value)
 Apply this CSS style to the given computed style. Note that you can grab the element from the computed style if you need that. More...
 
- Public Member Functions inherited from PowerUI.Css.CssProperty
virtual void SetDefault (Css.Value value, ValueType type)
 Sets the default value for this property into the given value. More...
 
BackgroundImage GetBackground (ComputedStyle style)
 Call this if the current property requires a background image object. More...
 
BorderProperty GetBorder (ComputedStyle style)
 Call this if the current property requies a border object. More...
 
TextRenderingProperty GetText (ComputedStyle style)
 Call this if the current property requires a text object. NOTE: This one may be null. More...
 

Private Member Functions

void Find (string fontName, TextRenderingProperty text)
 Finds and connects the font(s) for the given text renderer. More...
 

Additional Inherited Members

- Public Attributes inherited from PowerUI.Css.CssProperty
string Name
 The main property name. Some properties use multiple names (e.g. content and inner-text). More...
 
bool IsTextual
 Does this css property apply to text? E.g. font-size, color etc. More...
 
bool IsXProperty
 True if this property occurs along the x axis. E.g. width, left, right. More...
 
bool IsWidthOrHeight
 True if this is width or height only. More...
 
ValueType Type =ValueType.Null
 The optional type of this property, if it defines it. More...
 

Constructor & Destructor Documentation

PowerUI.Css.Properties.FontFamily.FontFamily ( )
inline

Member Function Documentation

override void PowerUI.Css.Properties.FontFamily.Apply ( ComputedStyle  style,
Value  value 
)
inlinevirtual

Apply this CSS style to the given computed style. Note that you can grab the element from the computed style if you need that.

Parameters
styleThe computed style to apply the property to.
valueThe new value being applied.

Reimplemented from PowerUI.Css.CssProperty.

void PowerUI.Css.Properties.FontFamily.Find ( string  fontName,
TextRenderingProperty  text 
)
inlineprivate

Finds and connects the font(s) for the given text renderer.

override string [] PowerUI.Css.Properties.FontFamily.GetProperties ( )
inlinevirtual

The set of all properties that this one will handle. Usually just one. e.g. "v-align", "vertical-align".

Reimplemented from PowerUI.Css.CssProperty.