Spread for ASP.NET 12 Product Documentation
IndexOf Method (DefaultSkins)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : IndexOf Method
Name of the built-in skin for which to return the index
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 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

Reference

DefaultSkins Class
DefaultSkins Members