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


In This Topic
    NormalTriangleColor Property
    In This Topic
    Gets or sets the color of the triangle in normal mode.
    Syntax
    'Declaration
     
    Public Property NormalTriangleColor As Color
    'Usage
     
    Dim instance As FlatCornerHeaderRenderer
    Dim value As Color
     
    instance.NormalTriangleColor = value
     
    value = instance.NormalTriangleColor
    public Color NormalTriangleColor {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