[]
        
(Showing Draft Content)

C1.Win.FlexGrid.CellStyleCollection.Add

Add Method

Add(string, CellStyle)

Adds a new CellStyle object to the collection.

Declaration
public CellStyle Add(string name, CellStyle basedOn)
Parameters
Type Name Description
string name

Name of the new style.

CellStyle basedOn

Base style, used to initialize the properties of the new style.

Returns
Type Description
CellStyle

The new CellStyle object.

Remarks

If a style with the given name already exists, the existing style is returned and no exception is thrown.

Add(string, string)

Adds new CellStyle object to the collection.

Declaration
public CellStyle Add(string name, string basedOn)
Parameters
Type Name Description
string name

Name of the new style.

string basedOn

Name of the base style, used to initialize the properties of the new style.

Returns
Type Description
CellStyle

The new CellStyle object.

Add(string)

Adds a new empty CellStyle object to the collection.

Declaration
public CellStyle Add(string name)
Parameters
Type Name Description
string name

Name of the new style.

Returns
Type Description
CellStyle

The new CellStyle object.