HtmlRenderParseStyleSheet 方法 |
Parse the given stylesheet to
CssData object.
If
combineWithDefault is true the parsed css blocks are added to the
default css data (as defined by W3), merged if class name already exists. If false only the data in the given stylesheet is returned.
命名空间:
DSkin.Html
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法 public static CssData ParseStyleSheet(
string stylesheet,
bool combineWithDefault = true
)
参数
- stylesheet
- 类型:SystemString
the stylesheet source to parse - combineWithDefault (Optional)
- 类型:SystemBoolean
true - combine the parsed css data with default css data, false - return only the parsed css data
返回值
类型:
CssDatathe parsed css data
参见 引用
[!:http://www.w3.org/TR/CSS21/sample.html]