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


In This Topic
    InterfaceRenderer Property (SpreadView)
    In This Topic
    Gets or sets the interface renderer.
    Syntax
    'Declaration
     
    Public Property InterfaceRenderer As IInterfaceRenderer
    'Usage
     
    Dim instance As SpreadView
    Dim value As IInterfaceRenderer
     
    instance.InterfaceRenderer = value
     
    value = instance.InterfaceRenderer
    public IInterfaceRenderer InterfaceRenderer {get; set;}
    Example
    This example uses the InterfaceRenderer property.
    FarPoint.Win.Spread.EnhancedInterfaceRenderer ei = new FarPoint.Win.Spread.EnhancedInterfaceRenderer();
    ei.GrayAreaColor = Color.Aquamarine;
    FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
    sv.InterfaceRenderer = ei;
    Dim ei As New FarPoint.Win.Spread.EnhancedInterfaceRenderer()
    ei.GrayAreaColor = Color.Aquamarine
    Dim sv As FarPoint.Win.Spread.SpreadView = fpSpread1.GetRootWorkbook()
    sv.InterfaceRenderer = ei
    See Also