Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetStyleModel Class / SetDirectAltRowInfo Method
Index of the alternating row style to set
Style object set


In This Topic
    SetDirectAltRowInfo Method (DefaultSheetStyleModel)
    In This Topic
    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
    Specified style index is not valid; must be between 0 and the total number of styles
    See Also