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


thickness
Integer number of pixels in the thickness of the indicator line

Glossary Item Box

Creates a new renderer for the default focus indicator with the specified line thickness.

Syntax

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

Parameters

thickness
Integer number of pixels in the thickness of the indicator line

Example

C#Copy Code
FarPoint.Win.Spread.DefaultFocusIndicatorRenderer dfir = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer(2);
fpSpread1.FocusRenderer = dfir;
Visual BasicCopy Code
Dim dfir As New FarPoint.Win.Spread.DefaultFocusIndicatorRenderer(2)
FpSpread1.FocusRenderer = dfir

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.