Spread Windows Forms 7.0 Product Documentation
IndexOf Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultSpreadSkins Class : IndexOf Method


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

Glossary Item Box

Returns the index of the specified built-in skin.

Syntax

Visual Basic (Declaration) 
Public Shared Function IndexOf( _
   ByVal skin As SpreadSkin _
) As Integer
Visual Basic (Usage)Copy Code
Dim skin As SpreadSkin
Dim value As Integer
 
value = DefaultSpreadSkins.IndexOf(skin)
C# 
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.