Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / FlatCornerHeaderRenderer Class / GridLineColor Property
Example


In This Topic
    GridLineColor Property (FlatCornerHeaderRenderer)
    In This Topic
    Gets or sets the corner grid line color.
    Syntax
    'Declaration
     
    Public Property GridLineColor As Color
    'Usage
     
    Dim instance As FlatCornerHeaderRenderer
    Dim value As Color
     
    instance.GridLineColor = value
     
    value = instance.GridLineColor
    public Color GridLineColor {get; set;}
    Example
    This example sets the corner renderer.
    FarPoint.Win.Spread.CellType.FlatCornerHeaderRenderer flatrender = new FarPoint.Win.Spread.CellType.FlatCornerHeaderRenderer();
    flatrender.TriangleSize = 10;
    flatrender.NormalTriangleColor = Color.Crimson;
    flatrender.GridLineColor = Color.Salmon;
    fpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = flatrender;
    fpSpread1.ActiveSheet.AllowTableCorner = true;
    Dim flatrender As New FarPoint.Win.Spread.CellType.FlatCornerHeaderRenderer()
    flatrender.TriangleSize = 10
    flatrender.NormalTriangleColor = Color.Crimson
    flatrender.GridLineColor = Color.Salmon
    fpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = flatrender
    fpSpread1.ActiveSheet.AllowTableCorner = True
    See Also