Spread Windows Forms 11.0 Product Documentation
FocusRenderer Property (SpreadView)
Example 


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.
Syntax
'Declaration
 
Public Property FocusRenderer As IFocusIndicatorRenderer
'Usage
 
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
Example
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

Reference

SpreadView Class
SpreadView Members

User-Task Documentation

Customizing the Focus Indicator