Spread Windows Forms 12.0 Product Documentation
FocusRenderer Property (SpreadView)

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

Property Value

IFocusIndicatorRenderer object that specifies the renderer
This example sets the FocusRenderer property.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
FarPoint.Win.Spread.SolidFocusIndicatorRenderer sfir = new FarPoint.Win.Spread.SolidFocusIndicatorRenderer();
sv.FocusRenderer = sfir;
Dim sv As FarPoint.Win.Spread.SpreadView = fpSpread1.GetRootWorkbook()
Dim sfir As New FarPoint.Win.Spread.SolidFocusIndicatorRenderer
sv.FocusRenderer = sfir
See Also


SpreadView Class
SpreadView Members

User-Task Documentation

Customizing the Focus Indicator