Spread for ASP.NET 8.0 Product Documentation
SetDirectAltRowInfo Method (DefaultSheetStyleModel)


Index of the alternating row style to set
Style object set
Sets the specified alternating row style in the model.
Syntax
'Declaration
 
Public Overrides Sub SetDirectAltRowInfo( _
   ByVal index As Integer, _
   ByVal info As StyleInfo _
) 
'Usage
 
Dim instance As DefaultSheetStyleModel
Dim index As Integer
Dim info As StyleInfo
 
instance.SetDirectAltRowInfo(index, info)
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 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

Reference

DefaultSheetStyleModel Class
DefaultSheetStyleModel Members
GetDirectAltRowInfo Method
GetDirectAltRowName Method
SetDirectAltRowName Method
SetDirectInfo Method
AltRowCount Property

 

 


Copyright © GrapeCity, inc. All rights reserved.