Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / NamedStyleCollection Class / IndexOf(NamedStyle) Method
Style (NamedStyle object) for which to search


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

    Parameters

    style
    Style (NamedStyle object) for which to search
    See Also