Represents the padding: css property.
Public Member Functions | |
Padding () | |
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... | |
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... | |
|
inline |
|
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.
style | The computed style to apply the property to. |
value | The new value being applied. |
Reimplemented from PowerUI.Css.CssProperty.
|
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.