Spread Windows Forms 11.0 Product Documentation
IndexOf Method (DefaultSpreadSkins)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultSpreadSkins 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 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

Reference

DefaultSpreadSkins Class
DefaultSpreadSkins Members