Spread ASP.NET 6.0 Product Documentation
Border Property
See Also  Example Send Feedback
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 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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.