Spread Windows Forms 6.0 Product Documentation
Thickness Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SolidFocusIndicatorRenderer Class : Thickness Property


Glossary Item Box

Gets or sets the thickness of the solid focus indicator.

Syntax

Visual Basic (Declaration) 
Public Property Thickness As Integer
Visual Basic (Usage)Copy Code
Dim instance As SolidFocusIndicatorRenderer
Dim value As Integer
 
instance.Thickness = value
 
value = instance.Thickness
C# 
public int Thickness {get; set;}

Property Value

Integer number of pixels in the thickness of the solid focus indicator

Example

This example returns the color and thickness of the focus renderer.
C#Copy Code
FarPoint.Win.Spread.SolidFocusIndicatorRenderer sfi = new FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Red, 3); 
fpSpread1.FocusRenderer = sfi; 
Color c; 
int i; 
c = sfi.Color; 
i = sfi.Thickness;
Visual BasicCopy Code
Dim sfi As New FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Red, 3)
FpSpread1.FocusRenderer = sfi
Dim c As Color
Dim i As Integer
c = sfi.Color
i = sfi.Thickness

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.