Spread Windows Forms 12.0 Product Documentation
Border Property (EditingFocusIndicatorRenderer)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EditingFocusIndicatorRenderer Class : Border Property
Gets or sets the border.
Syntax
'Declaration
 
Public Property Border As IBorder
'Usage
 
Dim instance As EditingFocusIndicatorRenderer
Dim value As IBorder
 
instance.Border = value
 
value = instance.Border
public IBorder Border {get; set;}

Property Value

Border
Example
This example creates a new editing renderer.
FarPoint.Win.Spread.EditingFocusIndicatorRenderer efr = new FarPoint.Win.Spread.EditingFocusIndicatorRenderer();
efr.Border = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(true, Color.Red, 2, System.Drawing.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()
efr.Border = 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