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


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

EditingFocusIndicatorRenderer Class
EditingFocusIndicatorRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.