Spread Windows Forms 7.0 Product Documentation
EnhancedFocusIndicatorRenderer Constructor(Int32)
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EnhancedFocusIndicatorRenderer Class > EnhancedFocusIndicatorRenderer Constructor : EnhancedFocusIndicatorRenderer Constructor(Int32)


thickness
Thickness in pixels

Glossary Item Box

Creates a new renderer for drawing the border, with the specified thickness, around the active cell.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal thickness As Integer _
)
Visual Basic (Usage)Copy Code
Dim thickness As Integer
 
Dim instance As New EnhancedFocusIndicatorRenderer(thickness)
C# 
public EnhancedFocusIndicatorRenderer( 
   int thickness
)

Parameters

thickness
Thickness in pixels

Example

This examples sets the thickness of the indicator.
C#Copy Code
fpSpread1.FocusRenderer = new FarPoint.Win.Spread.EnhancedFocusIndicatorRenderer(4);
Visual BasicCopy Code
FpSpread1.FocusRenderer = New FarPoint.Win.Spread.EnhancedFocusIndicatorRenderer(4)

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.