Spread Windows Forms 6.0 Product Documentation
ButtonPolicy Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TabStrip Class : ButtonPolicy Property


Glossary Item Box

Gets or sets whether the sheet tab buttons are displayed.

Syntax

Visual Basic (Declaration) 
Public Property ButtonPolicy As TabStripButtonPolicy
Visual Basic (Usage)Copy Code
Dim instance As TabStrip
Dim value As TabStripButtonPolicy
 
instance.ButtonPolicy = value
 
value = instance.ButtonPolicy
C# 
public TabStripButtonPolicy ButtonPolicy {get; set;}

Property Value

TabStripButtonPolicy setting that determines the display of the tab strip

Example

This example sets whether the sheet tab are displayed.
C#Copy Code
fpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.Never;
Visual BasicCopy Code
FpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.Never

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.