Spread Windows Forms 12.0 Product Documentation
FlatFocusIndicatorRenderer Constructor(Int32,Color,Color)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FlatFocusIndicatorRenderer Class > FlatFocusIndicatorRenderer Constructor : FlatFocusIndicatorRenderer Constructor(Int32,Color,Color)
Thickness size.
Color.
Backcolor.
Creates a FlatFocusIndicatorRenderer instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal thickness As Integer, _
   ByVal color As Color, _
   ByVal backColor As Color _
)
'Usage
 
Dim thickness As Integer
Dim color As Color
Dim backColor As Color
 
Dim instance As New FlatFocusIndicatorRenderer(thickness, color, backColor)
public FlatFocusIndicatorRenderer( 
   int thickness,
   Color color,
   Color backColor
)

Parameters

thickness
Thickness size.
color
Color.
backColor
Backcolor.
Example
This example creates a focus renderer.
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
fpSpread1.Sheets.Count = 3;
FarPoint.Win.Spread.SpreadSkin skin = new FarPoint.Win.Spread.SpreadSkin();
FarPoint.Win.Spread.FlatFocusIndicatorRenderer srender = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(2, Color.Coral, Color.Green);
skin.FocusRenderer = srender;
skin.Apply(fpSpread1);
Dim si As New FarPoint.Win.Spread.StyleInfo
FpSpread1.Sheets.Count = 3
Dim skin As New FarPoint.Win.Spread.SpreadSkin()
Dim srender As New FarPoint.Win.Spread.FlatFocusIndicatorRenderer(2, Color.Coral, Color.Green)
skin.FocusRenderer = srender
skin.Apply(fpSpread1)
See Also

Reference

FlatFocusIndicatorRenderer Class
FlatFocusIndicatorRenderer Members
Overload List