Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / INamedStyleSupport Interface / GetDirectAltRowName Method
Index of the alternating row style to set; must be between 0 and AltRowCount-1
Example


In This Topic
    GetDirectAltRowName Method (INamedStyleSupport)
    In This Topic
    Gets the style name for an alternating row style.
    Syntax
    'Declaration
     
    Function GetDirectAltRowName( _
       ByVal index As Integer _
    ) As String
    'Usage
     
    Dim instance As INamedStyleSupport
    Dim index As Integer
    Dim value As String
     
    value = instance.GetDirectAltRowName(index)
    string GetDirectAltRowName( 
       int index
    )

    Parameters

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

    Return Value

    String containing the name of the style for the specified alternating row index, or an empty string if the specified alternating row index has no named style assigned

    Example
    This example returns the name of the style used by the style model.
    See Also