Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / BorderProperty Class / BorderStyleTop Field
Example


In This Topic
    BorderStyleTop Field
    In This Topic
    Represents the BorderStyleTop property (index is 14), which specifies the style for the top border.
    Syntax
    'Declaration
     
    
    Public Shared ReadOnly BorderStyleTop As BorderProperty
    'Usage
     
    
    Dim value As BorderProperty
     
    value = BorderProperty.BorderStyleTop
    public static readonly BorderProperty BorderStyleTop
    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.
    Remarks

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

    See Also