Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetStyleModel Class / SetDirectInfo Method
Model row index of the cell, or -1 to specify a column or model default
Model column index of the cell, or -1 to specify a row or model default
Style object set (StyleInfo or NamedStyle)


In This Topic
    SetDirectInfo Method (DefaultSheetStyleModel)
    In This Topic
    Sets the direct style for the specified cell, column, row, or model default.
    Syntax
    'Declaration
     
    
    Public Overrides Sub SetDirectInfo( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal info As StyleInfo _
    ) 
    'Usage
     
    
    Dim instance As DefaultSheetStyleModel
    Dim row As Integer
    Dim column As Integer
    Dim info As StyleInfo
     
    instance.SetDirectInfo(row, column, info)
    public override void SetDirectInfo( 
       int row,
       int column,
       StyleInfo info
    )

    Parameters

    row
    Model row index of the cell, or -1 to specify a column or model default
    column
    Model column index of the cell, or -1 to specify a row or model default
    info
    Style object set (StyleInfo or NamedStyle)
    Exceptions
    ExceptionDescription
    Specified row index is not valid; must be between -1 and the total number of rows
    Specified column index is not valid; must be between -1 and the total number of columns
    See Also