Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DefaultStyleCollection Class / Compose Method
Example


In This Topic
    Compose Method (DefaultStyleCollection)
    In This Topic
    Composes a style using the default styles and a specified StyleInfo object.
    Overload List
    OverloadDescription
    Composes a style using the default styles and a specified StyleInfo object.  
    Example
    FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
    FarPoint.Web.Spread.StyleInfo s = new FarPoint.Web.Spread.StyleInfo();
    s.BackColor = Color.Yellow;
    dsc.Compose(dsc.DataAreaDefault, s);
    
    Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
    Dim s As New FarPoint.Web.Spread.StyleInfo
    s.BackColor = Color.Yellow
    dsc.Compose(dsc.DataAreaDefault, s)
    See Also