Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / GridLineColor Property
Example


In This Topic
    GridLineColor Property (Worksheet)
    In This Topic
    Gets or sets the gridline color.
    Syntax
    'Declaration
     
    Public Property GridLineColor As Color
    'Usage
     
    Dim instance As Worksheet
    Dim value As Color
     
    instance.GridLineColor = value
     
    value = instance.GridLineColor
    public Color GridLineColor {get; set;}
    Example
    This example sets the GridLineColor property.
    gcSpreadSheet1.Sheets[0].ShowGridLine = true;
    gcSpreadSheet1.Sheets[0].GridLineColor = Color.FromArgb(255, 150, 25, 199);
    gcSpreadSheet1.Invalidate();
    GcSpreadSheet1.Sheets(0).ShowGridLine = True
    GcSpreadSheet1.Sheets(0).GridLineColor = Color.FromArgb(255, 150, 25, 199)
    GcSpreadSheet1.Invalidate()
    See Also