FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / CellStyleCollection Class / ParseString Method
String containing style definitions.

In This Topic
    ParseString Method (CellStyleCollection)
    In This Topic
    Parses a string containing style definitions.
    Syntax
    'Declaration
     
    
    Public Function ParseString( _
       ByVal styleDef As String _
    ) As Boolean
    public bool ParseString( 
       string styleDef
    )

    Parameters

    styleDef
    String containing style definitions.

    Return Value

    True if the string was parsed successfully, false otherwise.
    Remarks

    The style definition string is usually obtained from a call to BuildString(Boolean) method.

    The new definitions are merged with the current ones. To completely replace the styles, call the Clear method before parsing the new styles.

    See Also