Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DefaultStyleCollection Class / Find Method
Style (NamedStyle object) to find

In This Topic
    Find Method (DefaultStyleCollection)
    In This Topic
    Searches the collection for a NamedStyle with the specified name.
    Public Function Find( _
       ByVal name As String _
    ) As NamedStyle
    Dim instance As DefaultStyleCollection
    Dim name As String
    Dim value As NamedStyle
    value = instance.Find(name)
    public NamedStyle Find( 
       string name


    Style (NamedStyle object) to find

    Return Value

    NamedStyle object in the collection with the specified name, or null if no NamedStyle is found
    FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
    dsc.Find("DataAreaDefault").BackColor = Color.Yellow;
    Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
    dsc.Find("DataAreaDefault").BackColor = Color.Yellow
    See Also