Overload | Description |
---|---|
EditingFocusIndicatorRenderer Constructor() | Creates a new editing focus indicator renderer with default values. |
EditingFocusIndicatorRenderer Constructor(IBorder) | Creates a new editing focus indicator renderer with the specified border. |
This example creates a new editing renderer.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.EditingFocusIndicatorRenderer efr = new FarPoint.Win.Spread.EditingFocusIndicatorRenderer(new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(true, Color.Red, 1.5, 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; |
Visual Basic | Copy Code |
---|---|
Dim efr As New FarPoint.Win.Spread.EditingFocusIndicatorRenderer(New FarPoint.Win.ComplexBorder(New FarPoint.Win.ComplexBorderSide(True, Color.Red, 1.5, 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 |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8