Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DefaultSkins Class / Find Method
Name of the built-in skin to find
Example


In This Topic
    Find Method (DefaultSkins)
    In This Topic
    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