Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / PagerInfo Class / BackColor Property
Example


In This Topic
    BackColor Property (PagerInfo)
    In This Topic
    Gets or sets the background color of the page navigation aids.
    Syntax
    'Declaration
     
    Public Property BackColor As Color
    'Usage
     
    Dim instance As PagerInfo
    Dim value As Color
     
    instance.BackColor = value
     
    value = instance.BackColor
    public Color BackColor {get; set;}

    Property Value

    Color object that contains the background color for the page navigation aids
    Example
    FpSpread1.Columns.Count = 5;
    FpSpread1.Rows.Count = 150;
    FpSpread1.ActiveSheetView.PageSize = 30;
     
    FarPoint.Web.Spread.PagerInfo pinf;
    pinf = FpSpread1.Pager;
    pinf.Align = HorizontalAlign.Right;
    pinf.BackColor = Color.Yellow;
    pinf.CssClass = "CssStyle1";
    pinf.Font.Bold = true;
    pinf.ForeColor = Color.Red;
    pinf.Mode = FarPoint.Web.Spread.PagerMode.NextPrev;
    pinf.PageCount = 30;
    pinf.Position = FarPoint.Web.Spread.PagerPosition.Top;
    
    FpSpread1.Columns.Count = 5
    FpSpread1.Rows.Count = 150
    FpSpread1.ActiveSheetView.PageSize = 30
    
    Dim pinf As FarPoint.Web.Spread.PagerInfo
    pinf = FpSpread1.Pager
    pinf.Align = HorizontalAlign.Right
    pinf.BackColor = Color.Yellow
    pinf.CssClass = "CssStyle1"
    pinf.Font.Bold = True
    pinf.ForeColor = Color.Red
    pinf.Mode = FarPoint.Web.Spread.PagerMode.NextPrev
    pinf.PageCount = 30
    pinf.Position = FarPoint.Web.Spread.PagerPosition.Top
     
    See Also