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


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()
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

Reference

DefaultSkins Class
DefaultSkins Members

 

 


Copyright © GrapeCity, inc. All rights reserved.