FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / CellStyleCollection Class / Add Method / Add(String,String) Method
Name of the new style.
Name of the base style, used to initialize the properties of the new style.

In This Topic
    Add(String,String) Method
    In This Topic
    Adds new CellStyle object to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal name As String, _
       ByVal basedOn As String _
    ) As CellStyle

    Parameters

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

    Return Value

    The new CellStyle object.
    See Also