Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DefaultSkins Class / IndexOf Method
Name of skin for which to return the index
Example


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

    Parameters

    skin
    Name of skin for which to return the index

    Return Value

    Integer representing the zero-based index of the skin in the collection
    Example
    This example gets the specified skin in the collection from the specified index.
    See Also