Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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