Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.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
Example


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
    Example
    This example sets the collection of styles used by the style model.
    See Also