Spread for ASP.NET 7.0 Product Documentation
Find Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : Find Method


name
Name of the built-in skin to find

Glossary Item Box

Finds the skin in the collection of built-in skins with the specified skin name.

Syntax

Visual Basic (Declaration) 
Public Shared Function Find( _
   ByVal name As String _
) As SheetSkin
Visual Basic (Usage)Copy Code
Dim name As String
Dim value As SheetSkin
 
value = DefaultSkins.Find(name)
C# 
public static SheetSkin Find( 
   string name
)

Parameters

name
Name of the built-in skin to find

Return Value

SheetSkin object containing the skin in the collection with the specified name, or null if no skin is found

Example

This example finds the specified skin in the collection.
C#Copy Code
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
TextBox1.Text = ds.Find("Colorful1").HeaderBackColor.ToString();
Visual BasicCopy Code
Dim ds As New FarPoint.Web.Spread.DefaultSkins
TextBox1.Text = ds.Find("Colorful1").HeaderBackColor.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

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