Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DefaultSpreadSkins Class / IndexOf Method
Name of the built-in skin for which to return the index


In This Topic
    IndexOf Method (DefaultSpreadSkins)
    In This Topic
    Returns the index of the specified built-in skin.
    Syntax
    'Declaration
     
    
    Public Shared Function IndexOf( _
       ByVal skin As SpreadSkin _
    ) As Integer
    'Usage
     
    
    Dim skin As SpreadSkin
    Dim value As Integer
     
    value = DefaultSpreadSkins.IndexOf(skin)
    public static int IndexOf( 
       SpreadSkin skin
    )

    Parameters

    skin
    Name of the built-in skin for which to return the index

    Return Value

    Index of the object in the collection, or -1 if the object is not found
    See Also