Spread ASP.NET 6.0 Product Documentation
AltRowCount Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > ISheetStyleModel Interface : AltRowCount Property


Glossary Item Box

Gets or sets the number of alternating row styles in the model.

Syntax

Visual Basic (Declaration) 
Property AltRowCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As ISheetStyleModel
Dim value As Integer
 
instance.AltRowCount = value
 
value = instance.AltRowCount
C# 
int AltRowCount {get; set;}

Property Value

Integer number of alternating rows

Example

C#Copy Code
FarPoint.Web.Spread.Model.ISheetStyleModel iss;
iss = (FarPoint.Web.Spread.Model.ISheetStyleModel)FpSpread1.ActiveSheetView.StyleModel;
iss.AltRowCount = 2;
Dim si As New FarPoint.Web.Spread.StyleInfo;
si.BackColor = Color.Yellow;
iss.SetDirectAltRowInfo(1, si);
Visual BasicCopy Code
Dim iss As FarPoint.Web.Spread.Model.ISheetStyleModel
iss = FpSpread1.ActiveSheetView.StyleModel
iss.AltRowCount = 2
Dim si As New FarPoint.Web.Spread.StyleInfo
si.BackColor = Color.Yellow
iss.SetDirectAltRowInfo(1, si)

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.