CssUtils

TheArtOfDev.HtmlRenderer.Core.Utils

Utility method for handling CSS stuff.

Eigenschaften

DefaultSelectionBackcolor : RColor

Brush for selection background

Methoden

GetPropertyValue(CssBox, string) : string

Get CSS box property value by the CSS name. Used as a mapping between CSS property and the class property.

cssBox
the CSS box to get it's property value
propName
the name of the CSS property

Rückgabe: the value of the property, null if no such property exists

SetPropertyValue(CssBox, string, string)

Set CSS box property value by the CSS name. Used as a mapping between CSS property and the class property.

cssBox
the CSS box to set it's property value
propName
the name of the CSS property
value
the value to set
WhiteSpace(RGraphics, CssBoxProperties) : double

Gets the white space width of the specified box

g
box

Felder

_defaultSelectionBackcolor : RColor

Brush for selection background