Spread Windows Forms 12.0 Product Documentation
CustomFocusIndicatorRenderer Constructor(Int32)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CustomFocusIndicatorRenderer Class > CustomFocusIndicatorRenderer Constructor : CustomFocusIndicatorRenderer Constructor(Int32)
Line thickness in pixels
Creates a new renderer for the custom focus indicator with the specified line thickness.
Syntax
'Declaration
 
Public Function New( _
   ByVal thickness As Integer _
)
'Usage
 
Dim thickness As Integer
 
Dim instance As New CustomFocusIndicatorRenderer(thickness)
public CustomFocusIndicatorRenderer( 
   int thickness
)

Parameters

thickness
Line thickness in pixels
Example
This example creates a focus renderer.
FarPoint.Win.Spread.CustomFocusIndicatorRenderer cfi = new FarPoint.Win.Spread.CustomFocusIndicatorRenderer(2);
fpSpread1.FocusRenderer = cfi;
Dim cfi As New FarPoint.Win.Spread.CustomFocusIndicatorRenderer(2)
fpSpread1.FocusRenderer = cfi
See Also

Reference

CustomFocusIndicatorRenderer Class
CustomFocusIndicatorRenderer Members
Overload List