Spread WPF Documentation
ShowGridLine Property (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : ShowGridLine Property
Determines whether to show gridlines.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property ShowGridLine As System.Boolean
'Usage
 
Dim instance As Worksheet
Dim value As System.Boolean
 
instance.ShowGridLine = value
 
value = instance.ShowGridLine
[System.ComponentModel.DefaultValue()]
public System.bool ShowGridLine {get; set;}
Example
This example sets the ShowGridLine property.
gcSpreadSheet1.Sheets[0].ShowGridLine = true;
gcSpreadSheet1.Sheets[0].GridLineColor = Color.FromRgb(150, 25, 199);
gcSpreadSheet1.Invalidate();
GcSpreadSheet1.Sheets(0).ShowGridLine = True
GcSpreadSheet1.Sheets(0).GridLineColor = Color.FromRgb(150, 25, 199)
GcSpreadSheet1.Invalidate()
See Also

Reference

Worksheet Class
Worksheet Members