Spread Windows Forms 11.0 Product Documentation
InterfaceRenderer Property (FpSpread)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : InterfaceRenderer Property
Gets or sets the tab strip renderer for drawing tab strip elements.
Syntax
'Declaration
 
Public Property InterfaceRenderer As IInterfaceRenderer
'Usage
 
Dim instance As FpSpread
Dim value As IInterfaceRenderer
 
instance.InterfaceRenderer = value
 
value = instance.InterfaceRenderer
public IInterfaceRenderer InterfaceRenderer {get; set;}
Example
This example sets the InterfaceRenderer property.
// Set the sheet tabs to always appear.
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always;
// Set the width to 60%.
fpSpread1.TabStripRatio = 0.60;
// Create new tab strip.
FarPoint.Win.Spread.TabStrip tstrip;
tstrip = fpSpread1.TabStrip;
// Display the tab strip buttons as needed.
tstrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded;
// Set the background color.
tstrip.BackColor = Color.Bisque;
fpSpread1.InterfaceRenderer = null;
' Set the sheet tabs to always appear.
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always
' Set the width to 60%.
fpSpread1.TabStripRatio = 0.60
' Create new tab strip.
Dim tstrip As New FarPoint.Win.Spread.TabStrip()
tstrip = FpSpread1.TabStrip
' Display the tab strip buttons as needed.
tstrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded
' Set the background color.
tstrip.BackColor = Color.Bisque
fpSpread1.InterfaceRenderer = Nothing
See Also

Reference

FpSpread Class
FpSpread Members