Spread ASP.NET 6.0 Product Documentation
Find Method
See Also  Example Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.