[]
        
(Showing Draft Content)

DDCssLib.StyleSheetRule.-ctor

StyleSheetRule Constructor

StyleSheetRule()

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.

Declaration
public StyleSheetRule()

StyleSheetRule(string, string, StyleSheet)

Creates an instance of StyleSheetRule that will use the specified ClassName, CSSText, and ParentStyleSheet.

Declaration
public StyleSheetRule(string cssText, string className, StyleSheet parentStyleSheet)
Parameters
Type Name Description
string cssText
string className
StyleSheet parentStyleSheet

StyleSheetRule(string, string, string)

Creates an instance of StyleSheetRule that will use the specified ClassName, CSSText, and ParentStyleSheet.

Declaration
public StyleSheetRule(string cssText, string className, string parentStyleName)
Parameters
Type Name Description
string cssText
string className
string parentStyleName

StyleSheetRule(string, string)

Creates an instance of StyleSheetRule that will use the specified ClassName, CSSText, and ParentStyleSheet.

Declaration
public StyleSheetRule(string cssText, string className)
Parameters
Type Name Description
string cssText
string className