Spread WPF Documentation
ShowGridLine Property (Workbook)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Workbook Class : ShowGridLine Property
Gets or sets a value that indicates whether to show the gridline.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property ShowGridLine As System.Boolean
'Usage
 
Dim instance As Workbook
Dim value As System.Boolean
 
instance.ShowGridLine = value
 
value = instance.ShowGridLine
[System.ComponentModel.DefaultValue()]
public System.bool ShowGridLine {get; set;}

Property Value

true to show the gridline; otherwise, false.
Example
This example sets the ShowGridLine property.
gcSpreadSheet1.Workbook.GridLineColor = Color.FromRgb(100, 25, 15);
gcSpreadSheet1.Workbook.ShowGridLine = true;
gcSpreadSheet1.Workbook.GridLineColor = Color.FromRgb(100, 25, 15)
gcSpreadSheet1.Workbook.ShowGridLine = True
See Also

Reference

Workbook Class
Workbook Members