Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Column Class / Border Property

In This Topic
    Border Property (Column)
    In This Topic
    Gets or sets the default border for cells in this column.
    Public Property Border As IBorder
    Dim instance As Column
    Dim value As IBorder
    instance.Border = value
    value = instance.Border
    public IBorder Border {get; set;}

    Property Value

    IBorder object with the border
    This example specifies the border for the column.
    FarPoint.Win.Spread.Column col;
    FarPoint.Win.RoundedLineBorder bord = new FarPoint.Win.RoundedLineBorder(Color.Blue, 1);;
    col = fpSpread1.ActiveSheet.Columns[0];
    col.Border = bord;
    Dim col As FarPoint.Win.Spread.Column
    Dim bord As New FarPoint.Win.RoundedLineBorder(Color.Blue, 1)
    col = fpSpread1.ActiveSheet.Columns(0)
    col.Border = bord
    See Also