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


In This Topic
    TriangleSize Property
    In This Topic
    Gets or sets the triangle size.
    Syntax
    'Declaration
     
    Public Property TriangleSize As Integer
    'Usage
     
    Dim instance As FlatCornerHeaderRenderer
    Dim value As Integer
     
    instance.TriangleSize = value
     
    value = instance.TriangleSize
    public int TriangleSize {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