Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Border Class / BorderStyle Property
Example


In This Topic
    BorderStyle Property (Border)
    In This Topic
    Gets or sets the style that applies to all sides of the border.
    Syntax
    'Declaration
     
    
    Public Property BorderStyle As BorderStyle
    'Usage
     
    
    Dim instance As Border
    Dim value As BorderStyle
     
    instance.BorderStyle = value
     
    value = instance.BorderStyle
    public BorderStyle BorderStyle {get; set;}

    Property Value

    BorderStyle setting for the border
    Remarks

    For more information on border styles, see the BorderStyle enumeration in the Microsoft .NET Framework Reference.

    If you want to set the style of each side of the object border, use the BorderStyleBottom, BorderStyleLeft, BorderStyleRight, and BorderStyleTop properties.

    To check if other border style properties have been set, use the IsDefined method.

    Example
    This example creates a spreadsheet with 7 columns and 50 rows. It sets the first column of cells to be currency cells with a BorderStyle of type Double set on the bottom and left side of the cells and a style of type Groove set on the right and top of the cells. The bottom and left sides have a BorderColor of blue and the size is set to 5.
    See Also