Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetStyleModel Class / GetDirectInfo 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
StyleInfo object to use for getting the style


In This Topic
    GetDirectInfo Method (DefaultSheetStyleModel)
    In This Topic
    Gets the direct style for the specified cell, column, row, or model default.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetDirectInfo( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal destInfo As StyleInfo _
    ) As StyleInfo
    'Usage
     
    
    Dim instance As DefaultSheetStyleModel
    Dim row As Integer
    Dim column As Integer
    Dim destInfo As StyleInfo
    Dim value As StyleInfo
     
    value = instance.GetDirectInfo(row, column, destInfo)
    public override StyleInfo GetDirectInfo( 
       int row,
       int column,
       StyleInfo destInfo
    )

    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
    destInfo
    StyleInfo object to use for getting the style
    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