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


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)
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

FlatFocusIndicatorRenderer Class
FlatFocusIndicatorRenderer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.