Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / StyleInfoCollection Class / IndexOf Method
The style (StyleInfo object) for which to search.


In This Topic
    IndexOf Method (StyleInfoCollection)
    In This Topic
    Returns the index of the specified style in the collection.
    Syntax
    'Declaration
     
    Public Overridable Function IndexOf( _
       ByVal style As StyleInfo _
    ) As Integer
    'Usage
     
    Dim instance As StyleInfoCollection
    Dim style As StyleInfo
    Dim value As Integer
     
    value = instance.IndexOf(style)
    public virtual int IndexOf( 
       StyleInfo style
    )

    Parameters

    style
    The style (StyleInfo object) for which to search.

    Return Value

    The style index.
    See Also