Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SolidFocusIndicatorRenderer Class / Color Property
Example


In This Topic
    Color Property (SolidFocusIndicatorRenderer)
    In This Topic
    Gets or sets the color of the solid focus indicator.
    Syntax
    'Declaration
     
    Public Property Color As Color
    'Usage
     
    Dim instance As SolidFocusIndicatorRenderer
    Dim value As Color
     
    instance.Color = value
     
    value = instance.Color
    public Color Color {get; set;}

    Property Value

    Color object containing the color of the solid focus indicator
    Example
    This example returns the color and thickness of the focus renderer.
    FarPoint.Win.Spread.SolidFocusIndicatorRenderer sfi = new FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Red, 3); 
    fpSpread1.FocusRenderer = sfi; 
    Color c; 
    int i; 
    c = sfi.Color; 
    i = sfi.Thickness;
    Dim sfi As New FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Red, 3)
    FpSpread1.FocusRenderer = sfi
    Dim c As Color
    Dim i As Integer
    c = sfi.Color
    i = sfi.Thickness
    See Also