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


In This Topic
    SetDirectName Method (INamedStyleSupport)
    In This Topic
    Sets the direct style for the specified cell, column, row, or model default to the specified style name.
    Syntax
    'Declaration
     
    
    Sub SetDirectName( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal styleName As String _
    ) 
    'Usage
     
    
    Dim instance As INamedStyleSupport
    Dim row As Integer
    Dim column As Integer
    Dim styleName As String
     
    instance.SetDirectName(row, column, styleName)
    void SetDirectName( 
       int row,
       int column,
       string styleName
    )

    Parameters

    row
    Row index of the cell in the model, or -1 to specify a column or model default
    column
    Column index of the cell in the model, or -1 to specify a row or model default
    styleName
    Name of the style to set
    Example
    This example sets the collection of styles used by the style model.
    See Also