Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetStyleModel Class / GetDirectName 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


GetDirectName Method (DefaultSheetStyleModel)
Gets the name of the direct style assigned to a cell, column, row, or model default.
Syntax
'Declaration
 
Public Overridable Function GetDirectName( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As String
 
'Usage
 
Dim instance As DefaultSheetStyleModel
Dim row As Integer
Dim column As Integer
Dim value As String
 
value = instance.GetDirectName(row, column)

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
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