Spread for ASP.NET 12 Product Documentation
GetDirectName Method (DefaultSheetStyleModel)


FarPoint.Web.Spread Assembly > FarPoint.Web.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
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)
public virtual string GetDirectName( 
   int row,
   int 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

Reference

DefaultSheetStyleModel Class
DefaultSheetStyleModel Members