Spread WPF Documentation
GridLineColor Property (Worksheet)
Example 


Gets or sets the gridline color.
Syntax
'Declaration
 
Public Property GridLineColor As System.Windows.Media.Color
'Usage
 
Dim instance As Worksheet
Dim value As System.Windows.Media.Color
 
instance.GridLineColor = value
 
value = instance.GridLineColor
public System.Windows.Media.Color GridLineColor {get; set;}
Example
This example sets the GridLineColor 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()
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.