Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / Border Property
Example


In This Topic
    Border Property (AlternatingRow)
    In This Topic
    Gets or sets the border for cells in this alternating row.
    Syntax
    'Declaration
     
    Public Property Border As Border
    'Usage
     
    Dim instance As AlternatingRow
    Dim value As Border
     
    instance.Border = value
     
    value = instance.Border
    public Border Border {get; set;}

    Property Value

    Border object containing the border for the cells in this alternating row
    Example
    This example creates a Border object, sets the color of the bottom and the color of the right and then assigns the Border to the first AlternatingRow.
    FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border();
    bord.BorderColorBottom = Color.Red;
    bord.BorderColorRight = Color.Green;
    FpSpread1.Sheets[0].AlternatingRows[0].Border = bord;
    
    Dim bord As New FarPoint.Web.Spread.Border()
    bord.BorderColorBottom = Color.Red
    bord.BorderColorRight = Color.Green
    ss.Sheets(0).AlternatingRows(0).Border = bord
    
    See Also