Spread for ASP.NET 7.0 Product Documentation
Border Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRow Class : Border Property


Glossary Item Box

Gets or sets the border for cells in this alternating row.

Syntax

Visual Basic (Declaration) 
Public Property Border As Border
Visual Basic (Usage)Copy Code
Dim instance As AlternatingRow
Dim value As Border
 
instance.Border = value
 
value = instance.Border
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.