Spread for ASP.NET 7.0 Product Documentation
GetDirectAltRowInfo Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetStyleModel Class : GetDirectAltRowInfo Method


index
Index of the alternating row style to get
destInfo
StyleInfo object to use for composing the styles

Glossary Item Box

Gets the specified alternating row style in the model.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetDirectAltRowInfo( _
   ByVal index As Integer, _
   ByVal destInfo As StyleInfo _
) As StyleInfo
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetStyleModel
Dim index As Integer
Dim destInfo As StyleInfo
Dim value As StyleInfo
 
value = instance.GetDirectAltRowInfo(index, destInfo)
C# 
public override StyleInfo GetDirectAltRowInfo( 
   int index,
   StyleInfo destInfo
)

Parameters

index
Index of the alternating row style to get
destInfo
StyleInfo object to use for composing the styles

Return Value

StyleInfo object containing the style settings

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.

Example

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.