Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / ApplyStyle Method / ApplyStyle(String) Method
Name of the style.


In This Topic
    ApplyStyle(String) Method
    In This Topic
    Applies the named style to the range.
    Syntax
    'Declaration
     
    
    Overloads Function ApplyStyle( _
       ByVal styleName As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As IRange
    Dim styleName As String
    Dim value As Boolean
     
    value = instance.ApplyStyle(styleName)
    bool ApplyStyle( 
       string styleName
    )

    Parameters

    styleName
    Name of the style.

    Return Value

    true if the style applies to cell successful, false otherwise.
    See Also