Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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