Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / INamedStyleSupport Interface / GetDirectName Method
Row index of the cell in the model, or -1 to specify an entire column or the model default
Column index of the cell in the model, or -1 to specify an entire row or the model default
Example


In This Topic
    GetDirectName Method (INamedStyleSupport)
    In This Topic
    Gets the name of the direct style assigned to a cell, column, row, or model default.
    Syntax
    'Declaration
     
    
    Function GetDirectName( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As String
    'Usage
     
    
    Dim instance As INamedStyleSupport
    Dim row As Integer
    Dim column As Integer
    Dim value As String
     
    value = instance.GetDirectName(row, column)
    string GetDirectName( 
       int row,
       int column
    )

    Parameters

    row
    Row index of the cell in the model, or -1 to specify an entire column or the model default
    column
    Column index of the cell in the model, or -1 to specify an entire row or the model default

    Return Value

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