Spread for ASP.NET 11 Product Documentation
Find Method (DefaultSkins)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : Find Method
Name of the built-in skin to find
Finds the skin in the collection of built-in skins with the specified skin name.
Syntax
'Declaration
 
Public Shared Function Find( _
   ByVal name As String _
) As SheetSkin
'Usage
 
Dim name As String
Dim value As SheetSkin
 
value = DefaultSkins.Find(name)
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.
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
TextBox1.Text = ds.Find("Colorful1").HeaderBackColor.ToString();
Dim ds As New FarPoint.Web.Spread.DefaultSkins
TextBox1.Text = ds.Find("Colorful1").HeaderBackColor.ToString()
See Also

Reference

DefaultSkins Class
DefaultSkins Members