Spread Silverlight Documentation
GetActualStyleInfo(Int32,Int32,SheetArea) Method
Example 


The row index.
The column index.
The sheet area.
Gets the actual style information for a specified cell in the specified sheet area.
Syntax
'Declaration
 
Public Overloads Overridable Function GetActualStyleInfo( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal sheetArea As SheetArea _
) As StyleInfo
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim sheetArea As SheetArea
Dim value As StyleInfo
 
value = instance.GetActualStyleInfo(row, column, sheetArea)
public virtual StyleInfo GetActualStyleInfo( 
   System.int row,
   System.int column,
   SheetArea sheetArea
)

Parameters

row
The row index.
column
The column index.
sheetArea
The sheet area.

Return Value

Returns the cell style of the specified cell.
Example
This example uses the GetActualStyleInfo method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualStyleInfo(0, 0, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualStyleInfo(0,1,GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells,false).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnAutoText(1).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualStyleInfo(0, 0, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualStyleInfo(0,1,GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, False).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnAutoText(1).ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.