Spread Windows Forms 9.0 Product Documentation
Thickness Property (SolidFocusIndicatorRenderer)
Example 


Gets or sets the thickness of the solid focus indicator.
Syntax
'Declaration
 
Public Property Thickness As Integer
'Usage
 
Dim instance As SolidFocusIndicatorRenderer
Dim value As Integer
 
instance.Thickness = value
 
value = instance.Thickness
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.
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;
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SolidFocusIndicatorRenderer Class
SolidFocusIndicatorRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.