Spread Windows Forms 7.0 Product Documentation
Color Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SolidFocusIndicatorRenderer Class : Color Property


Glossary Item Box

Gets or sets the color of the solid focus indicator.

Syntax

Visual Basic (Declaration) 
Public Property Color As Color
Visual Basic (Usage)Copy Code
Dim instance As SolidFocusIndicatorRenderer
Dim value As Color
 
instance.Color = value
 
value = instance.Color
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.