Spread Windows Forms 7.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 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.