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


Name of 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 skin for which to return the index

Return Value

Integer representing the zero-based index of the skin in the collection
Example
This example gets the specified skin in the collection from the specified index.
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
int i;
i = ds.IndexOf(ds.GetAt(2));
TextBox1.Text = i.ToString();
Dim ds As New FarPoint.Web.Spread.DefaultSkins
Dim i As Integer
i = ds.IndexOf(ds.GetAt(2))
TextBox1.Text = i.ToString()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultSkins Class
DefaultSkins Members

 

 


Copyright © GrapeCity, inc. All rights reserved.