Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetStyleName Method / SetStyleName(Int32,Int32,SheetArea,String) Method
The row index of the cell in the model, or -1 to specify a column or default model.
The column index of the cell in the model, or -1 to specify a row or default model.
The sheet area.
The name of the style to set.


In This Topic
    SetStyleName(Int32,Int32,SheetArea,String) Method
    In This Topic
    Sets the style for the specified cell, column, row, or default model to the specified style name.
    Syntax
    'Declaration
     
    Public Overloads Sub SetStyleName( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal sheetArea As SheetArea, _
       ByVal value As String _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim sheetArea As SheetArea
    Dim value As String
     
    instance.SetStyleName(row, column, sheetArea, value)
    public void SetStyleName( 
       int row,
       int column,
       SheetArea sheetArea,
       string value
    )

    Parameters

    row
    The row index of the cell in the model, or -1 to specify a column or default model.
    column
    The column index of the cell in the model, or -1 to specify a row or default model.
    sheetArea
    The sheet area.
    value
    The name of the style to set.
    See Also