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


In This Topic
    ActiveMouseOverForeColor Property
    In This Topic
    Gets or sets the foreground color of the triangle when the mouse is over the triangle.
    Syntax
    'Declaration
     
    Public Property ActiveMouseOverForeColor As Color
    'Usage
     
    Dim instance As FlatCornerHeaderRenderer
    Dim value As Color
     
    instance.ActiveMouseOverForeColor = value
     
    value = instance.ActiveMouseOverForeColor
    public Color ActiveMouseOverForeColor {get; set;}
    Example
    This example sets the ActiveMouseOverForeColor property.
    FarPoint.Win.Spread.CellType.FlatCornerHeaderRenderer flatrender = new FarPoint.Win.Spread.CellType.FlatCornerHeaderRenderer();
    flatrender.ActiveForeColor = Color.YellowGreen;
    flatrender.ActiveMouseOverForeColor = Color.SlateBlue;
    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.ActiveForeColor = Color.YellowGreen
    flatrender.ActiveMouseOverForeColor = Color.SlateBlue
    flatrender.TriangleSize = 10
    flatrender.NormalTriangleColor = Color.Crimson
    flatrender.GridLineColor = Color.Salmon
    fpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = flatrender
    fpSpread1.ActiveSheet.AllowTableCorner = True
    See Also