Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DefaultSkins Class / IndexOf Method
Name of the built-in skin for which to return the index


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)

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