CssUtils

TheArtOfDev.HtmlRenderer.Core.Utils

Utility method for handling CSS stuff.

Свойства

DefaultSelectionBackcolor : RColor

Brush for selection background

Методы

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

Возвращает: 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

Поля

_defaultSelectionBackcolor : RColor

Brush for selection background