Spread for ASP.NET 10 Product Documentation
BorderSizeTop Field
Example 


Represents the BorderSizeTop property (index is 9), which specifies the width of the top border.
Syntax
'Declaration
 
Public Shared ReadOnly BorderSizeTop As BorderProperty
'Usage
 
Dim value As BorderProperty
 
value = BorderProperty.BorderSizeTop
public static readonly BorderProperty BorderSizeTop
Example
This example sets different border styles around a cell.
FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 2); 
bord.BorderStyleTop = BorderStyle.Ridge; 
bord.BorderStyleBottom = BorderStyle.Double; 
bord.BorderStyleLeft = BorderStyle.Solid; 
bord.BorderStyleRight = BorderStyle.Dotted; 
FpSpread1.ActiveSheetView.Cells(2, 2).Border = bord;
Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 2)
bord.BorderStyleTop = BorderStyle.Ridge
bord.BorderStyleBottom = BorderStyle.Double
bord.BorderStyleLeft = BorderStyle.Solid
bord.BorderStyleRight = BorderStyle.Dotted
FpSpread1.ActiveSheetView.Cells(2, 2).Border = bord
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

BorderProperty Class
BorderProperty Members
BorderSize Field

 

 


Copyright © GrapeCity, inc. All rights reserved.