Spread for ASP.NET 10 Product Documentation
GetDirectAltRowInfo Method (DefaultSheetStyleModel)


Index of the alternating row style to get
StyleInfo object to use for composing the styles
Gets the specified alternating row style in the model.
Syntax
'Declaration
 
Public Overrides Function GetDirectAltRowInfo( _
   ByVal index As Integer, _
   ByVal destInfo As StyleInfo _
) As StyleInfo
'Usage
 
Dim instance As DefaultSheetStyleModel
Dim index As Integer
Dim destInfo As StyleInfo
Dim value As StyleInfo
 
value = instance.GetDirectAltRowInfo(index, destInfo)
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
Click here for topic with relevant example.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultSheetStyleModel Class
DefaultSheetStyleModel Members
GetCompositeInfo Method
GetDirectAltRowName Method
GetDirectInfo Method
SetDirectAltRowInfo Method
SetDirectAltRowName Method
AltRowCount Property

 

 


Copyright © GrapeCity, inc. All rights reserved.