Spread Windows Forms 12.0 Product Documentation
FocusRenderer Property (FpSpread)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : FocusRenderer Property
Gets or sets the focus indicator renderer for drawing the focus rectangle in the component.
Public Property FocusRenderer As IFocusIndicatorRenderer
Dim instance As FpSpread
Dim value As IFocusIndicatorRenderer
instance.FocusRenderer = value
value = instance.FocusRenderer
public IFocusIndicatorRenderer FocusRenderer {get; set;}

Property Value

IFocusIndicatorRenderer instance that determines the focus renderer

There are implementations of IFocusIndicatorRenderer that you can use to assign custom focus indicators with this property.

This example changes the focus rectangle to solid.
fpSpread1.FocusRenderer = new FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Cyan, 1);
FpSpread1.FocusRenderer = New FarPoint.Win.Spread.SolidFocusIndicatorRenderer(Color.Cyan, 1)
See Also


FpSpread Class
FpSpread Members
Customizing the Focus Indicator