Visual Basic (Usage) | Copy Code |
---|---|
Dim clr As Color Dim thick As Integer Dim instance As New SolidFocusIndicatorRenderer(clr, thick) |
Parameters
- clr
- Color of the focus indicator
- thick
- Integer number of pixels in the thickness of the focus indicator
This example provides a custom focus indicator for the cells.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.SolidFocusIndicatorRenderer sfir = new FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Blue, 1);
fpSpread1.FocusRenderer = sfir;
|
Visual Basic | Copy Code |
---|---|
Dim sfir As New FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Blue, 1) FpSpread1.FocusRenderer = sfir |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8