Gets or sets the default border for cells in this column.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Border As Border |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Column
Dim value As Border
instance.Border = value
value = instance.Border |
C# | |
---|
public Border Border {get; set;} |
Property Value
Border object that contains the border for the cells in this column
Remarks
Example
This example creates a spreadsheet with 10 columns and 20 rows. A Column object and a Border object are then created. The Column object is assigned to the second column of the spreadsheet. The Border objects design is assigned to the Border property of the Column object, such that all the cells in the second column have a red, grooved border around them.
C# | Copy Code |
---|
FpSpread1.ActiveSheetView.ColumnCount=10;
FpSpread1.ActiveSheetView.PageSize=20;
FpSpread1.ActiveSheetView.RowCount=20;
FarPoint.Web.Spread.Column mycol;
FarPoint.Web.Spread.Border bord=new FarPoint.Web.Spread.Border(BorderStyle.Groove,Color.Red,3);
mycol=FpSpread1.ActiveSheetView.Columns[1];
mycol.Border=bord; |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheetView.ColumnCount=10
FpSpread1.ActiveSheetView.PageSize=20
FpSpread1.ActiveSheetView.RowCount=20
Dim mycol As FarPoint.Web.Spread.Column
Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Groove,Color.Red,3)
mycol=FpSpread1.ActiveSheetView.Columns(1)
mycol.Border=bord |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also