Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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