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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.