ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / CellStyleCollection Class / IndexOf Method
Style object to look for.

In This Topic
    IndexOf Method (CellStyleCollection)
    In This Topic
    Gets the index of a style in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal style As CellStyle _
    ) As Integer
    public int IndexOf( 
       CellStyle style
    )

    Parameters

    style
    Style object to look for.

    Return Value

    Index of the style in the collection, or -1 if the style is not a member of the collection.
    See Also