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) |
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 settingsException | Description |
---|---|
System.IndexOutOfRangeException | Specified style index is not valid; must be between 0 and the total number of styles |
Spread uses the alternating row style to merge alternating row styles with the composite style for a cell immediately prior to painting the cell.
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