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


Color object specifying 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 specifying 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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

MarqueeFocusIndicatorRenderer Class
MarqueeFocusIndicatorRenderer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.