Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / BaseSheetStyleModel Class / SetDirectAltRowInfo Method
Index of the alternating row style to set; must be between 0 and AltRowCount-1
Source StyleInfo object that has style information
Example


In This Topic
    SetDirectAltRowInfo Method (BaseSheetStyleModel)
    In This Topic
    Sets the specified alternating row style in the model.
    Syntax
    'Declaration
     
    
    Public Overridable Sub SetDirectAltRowInfo( _
       ByVal index As Integer, _
       ByVal info As StyleInfo _
    ) 
    'Usage
     
    
    Dim instance As BaseSheetStyleModel
    Dim index As Integer
    Dim info As StyleInfo
     
    instance.SetDirectAltRowInfo(index, info)
    public virtual void SetDirectAltRowInfo( 
       int index,
       StyleInfo info
    )

    Parameters

    index
    Index of the alternating row style to set; must be between 0 and AltRowCount-1
    info
    Source StyleInfo object that has style information

    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