[]
        
(Showing Draft Content)

DDCssLib.StyleSheet.Add

Add Method

Add(string, string)

Creates a StyleSheetRule object from the specified information.

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

The ClassName to identify this stylesheet rule by.

string cssText

The CSS declartaion block string that the returned StyleSheetRule object will represent.

Returns
Type Description
StyleSheetRule

Add(string, string, string)

Creates a StyleSheetRule object from the specified information.

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

The ClassName to identify this stylesheet rule by.

string cssText

The CSS declartaion block string that the returned StyleSheetRule object will represent.

string parentStyle

The parent StyleSheetRule that this

Returns
Type Description
StyleSheetRule

Add(object)

Adds an item to the IList.

Declaration
public int Add(object value)
Parameters
Type Name Description
object value

The object to add to the IList.

Returns
Type Description
int

The position into which the new element was inserted.

Implements