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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > MarqueeFocusIndicatorRenderer Class > MarqueeFocusIndicatorRenderer Constructor : MarqueeFocusIndicatorRenderer Constructor(Color,Int32)
Color object that specifies the color of the indicator line
Integer number of pixels in the thickness of the indicator line
Creates a new renderer for the marquee (or animated) focus indicator with the specified line thickness and color.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal thickness As Integer _
)
'Usage
 
Dim color As Color
Dim thickness As Integer
 
Dim instance As New MarqueeFocusIndicatorRenderer(color, thickness)
public MarqueeFocusIndicatorRenderer( 
   Color color,
   int thickness
)

Parameters

color
Color object that specifies the color of the indicator line
thickness
Integer number of pixels in the thickness of the indicator line
Example
This example creates a border around the active cell.
FarPoint.Win.Spread.MarqueeFocusIndicatorRenderer mfr = new FarPoint.Win.Spread.MarqueeFocusIndicatorRenderer(2, Color.Red);
fpSpread1.FocusRenderer = mfr;
Dim mfr As New FarPoint.Win.Spread.MarqueeFocusIndicatorRenderer(2, Color.Red)
FpSpread1.FocusRenderer = mfr
See Also

Reference

MarqueeFocusIndicatorRenderer Class
MarqueeFocusIndicatorRenderer Members
Overload List