Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / INamedStyleSupport Interface / SetDirectAltRowName Method
Index of the alternating row style to set; must be between 0 and AltRowCount-1
Name of the style to set


In This Topic
    SetDirectAltRowName Method (INamedStyleSupport)
    In This Topic
    Sets the specified alternating row style in the model to the specified named style.
    Syntax
    'Declaration
     
    
    Sub SetDirectAltRowName( _
       ByVal index As Integer, _
       ByVal styleName As String _
    ) 
    'Usage
     
    
    Dim instance As INamedStyleSupport
    Dim index As Integer
    Dim styleName As String
     
    instance.SetDirectAltRowName(index, styleName)
    void SetDirectAltRowName( 
       int index,
       string styleName
    )

    Parameters

    index
    Index of the alternating row style to set; must be between 0 and AltRowCount-1
    styleName
    Name of the style to set
    See Also