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.Columnmycol;
FarPoint.Web.Spread.Borderbord=newFarPoint.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
DimmycolAsFarPoint.Web.Spread.Column
DimbordAsNewFarPoint.Web.Spread.Border(BorderStyle.Groove,Color.Red,3)
mycol=FpSpread1.ActiveSheetView.Columns(1)
mycol.Border=bord |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also