[]
The default constructor for StyleSheetRule.
A new empty CSSDeclaration will be used, the parent StyleSheetRule and ParentStyleSheet will be null. The ClassName will be String.Empty.
public StyleSheetRule()
Creates an instance of StyleSheetRule that will use the specified ClassName, CSSText, and ParentStyleSheet.
public StyleSheetRule(string cssText, string className, StyleSheet parentStyleSheet)
Type | Name | Description |
---|---|---|
string | cssText | |
string | className | |
StyleSheet | parentStyleSheet |
Creates an instance of StyleSheetRule that will use the specified ClassName, CSSText, and ParentStyleSheet.
public StyleSheetRule(string cssText, string className, string parentStyleName)
Type | Name | Description |
---|---|---|
string | cssText | |
string | className | |
string | parentStyleName |
Creates an instance of StyleSheetRule that will use the specified ClassName, CSSText, and ParentStyleSheet.
public StyleSheetRule(string cssText, string className)
Type | Name | Description |
---|---|---|
string | cssText | |
string | className |