Spread Windows Forms 12.0 Product Documentation
EditingFocusIndicatorRenderer Constructor(IBorder)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EditingFocusIndicatorRenderer Class > EditingFocusIndicatorRenderer Constructor : EditingFocusIndicatorRenderer Constructor(IBorder)
Type of the border.
Creates a new editing focus indicator renderer with the specified border.
Syntax
'Declaration
 
Public Function New( _
   ByVal borderType As IBorder _
)
'Usage
 
Dim borderType As IBorder
 
Dim instance As New EditingFocusIndicatorRenderer(borderType)
public EditingFocusIndicatorRenderer( 
   IBorder borderType
)

Parameters

borderType
Type of the border.
Example
This example creates a new editing renderer.
FarPoint.Win.Spread.EditingFocusIndicatorRenderer efr = new FarPoint.Win.Spread.EditingFocusIndicatorRenderer(new FarPoint.Win.ComplexBorder(new
FarPoint.Win.ComplexBorderSide(true, Color.Red, 2, Drawing2D.DashStyle.Dash, new float[] {
0.33F,
0.5F,
0.66F,
1.0F}, new float[] {
0.33F,
0.5F,
0.66F,
1.0F})));
fpSpread1.FocusRenderer = efr;
Dim efr As New FarPoint.Win.Spread.EditingFocusIndicatorRenderer(New FarPoint.Win.ComplexBorder(New FarPoint.Win.ComplexBorderSide(True,
Color.Red, 2, Drawing2D.DashStyle.Dash, New Single() {0.33F, 0.5F, 0.66F, 1.0F}, New Single() {0.33F, 0.5F, 0.66F, 1.0F})))
FpSpread1.FocusRenderer = efr
See Also

Reference

EditingFocusIndicatorRenderer Class
EditingFocusIndicatorRenderer Members
Overload List