Spread for ASP.NET 10 Product Documentation
Border Property (AlternatingRow)
Example 


Gets or sets the border for cells in this alternating row.
Syntax
'Declaration
 
Public Property Border As Border
'Usage
 
Dim instance As AlternatingRow
Dim value As Border
 
instance.Border = value
 
value = instance.Border
public Border Border {get; set;}

Property Value

Border object containing the border for the cells in this alternating row
Example
This example creates a Border object, sets the color of the bottom and the color of the right and then assigns the Border to the first AlternatingRow.
FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border();
bord.BorderColorBottom = Color.Red;
bord.BorderColorRight = Color.Green;
FpSpread1.Sheets[0].AlternatingRows[0].Border = bord;
Dim bord As New FarPoint.Web.Spread.Border()
bord.BorderColorBottom = Color.Red
bord.BorderColorRight = Color.Green
ss.Sheets(0).AlternatingRows(0).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

AlternatingRow Class
AlternatingRow Members
Border Class

 

 


Copyright © GrapeCity, inc. All rights reserved.