Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / FocusRenderer Property

In This Topic
    FocusRenderer Property (SpreadView)
    In This Topic
    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