Spread Windows Forms 12.0 Product Documentation
SolidFocusIndicatorRenderer Constructor(Color,Int32)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SolidFocusIndicatorRenderer Class > SolidFocusIndicatorRenderer Constructor : SolidFocusIndicatorRenderer Constructor(Color,Int32)
Color of the focus indicator
Integer number of pixels in the thickness of the focus indicator
Creates a new renderer of the solid focus indicator with the specified color and thickness.
Syntax
'Declaration
 
Public Function New( _
   ByVal clr As Color, _
   ByVal thick As Integer _
)
'Usage
 
Dim clr As Color
Dim thick As Integer
 
Dim instance As New SolidFocusIndicatorRenderer(clr, thick)
public SolidFocusIndicatorRenderer( 
   Color clr,
   int thick
)

Parameters

clr
Color of the focus indicator
thick
Integer number of pixels in the thickness of the focus indicator
Example
This example provides a custom focus indicator for the cells.
FarPoint.Win.Spread.SolidFocusIndicatorRenderer sfir = new FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Blue, 1);
fpSpread1.FocusRenderer = sfir;
Dim sfir As New FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Blue, 1)
FpSpread1.FocusRenderer = sfir
See Also

Reference

SolidFocusIndicatorRenderer Class
SolidFocusIndicatorRenderer Members
Overload List