Spread Silverlight Documentation
GetGridLine Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : GetGridLine Method
Gets the control gridline; the gridline color is based on the ShowGridLine property.
Syntax
'Declaration
 
Public Function GetGridLine( _
   ByVal sheetArea As SheetArea _
) As BorderLine
'Usage
 
Dim instance As Worksheet
Dim sheetArea As SheetArea
Dim value As BorderLine
 
value = instance.GetGridLine(sheetArea)
public BorderLine GetGridLine( 
   SheetArea sheetArea
)

Parameters

sheetArea
Example
This example uses the GetGridLine method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetGridLine(GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).Color.ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetGridLine(GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).Color.ToString())
See Also

Reference

Worksheet Class
Worksheet Members