Spread ASP.NET 6.0 Product Documentation
SetDirectAltRowInfo Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetStyleModel Class : SetDirectAltRowInfo Method


index
Index of the alternating row style to set
info
Style object set

Glossary Item Box

Sets the specified alternating row style in the model.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub SetDirectAltRowInfo( _
   ByVal index As Integer, _
   ByVal info As StyleInfo _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetStyleModel
Dim index As Integer
Dim info As StyleInfo
 
instance.SetDirectAltRowInfo(index, info)
C# 
public override void SetDirectAltRowInfo( 
   int index,
   StyleInfo info
)

Parameters

index
Index of the alternating row style to set
info
Style object set

Exceptions

ExceptionDescription
System.IndexOutOfRangeException Specified style index is not valid; must be between 0 and the total number of styles

Remarks

Spread uses the alternating row style to merge alternating row styles with the composite style for a cell immediately prior to painting the cell.

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.