Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / BaseSheetStyleModel Class / GetDirectAltRowInfo Method
Index of the alternating row style to get; must be between 0 and AltRowCount-1
Destination StyleInfo object for composing the styles; if null, then a new StyleInfo is created and used
Example


In This Topic
    GetDirectAltRowInfo Method (BaseSheetStyleModel)
    In This Topic
    Gets the style information for the specified alternating row in the model.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetDirectAltRowInfo( _
       ByVal index As Integer, _
       ByVal destInfo As StyleInfo _
    ) As StyleInfo
    'Usage
     
    
    Dim instance As BaseSheetStyleModel
    Dim index As Integer
    Dim destInfo As StyleInfo
    Dim value As StyleInfo
     
    value = instance.GetDirectAltRowInfo(index, destInfo)
    public virtual StyleInfo GetDirectAltRowInfo( 
       int index,
       StyleInfo destInfo
    )

    Parameters

    index
    Index of the alternating row style to get; must be between 0 and AltRowCount-1
    destInfo
    Destination StyleInfo object for composing the styles; if null, then a new StyleInfo is created and used

    Return Value

    This implementation does nothing and returns null.
    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.

    This implementation does nothing and returns null.

    Example
    This example sets the background color for the alternating rows for the style.
    See Also