Returns the index of the specified built-in skin.
Syntax
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.
C# | Copy Code |
---|
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
int i;
i = ds.IndexOf(ds.GetAt(2));
TextBox1.Text = i.ToString();
|
Visual Basic | Copy Code |
---|
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also