Spread for ASP.NET 12 Product Documentation
SetDirectName Method (INamedStyleSupport)


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

Reference

INamedStyleSupport Interface
INamedStyleSupport Members