Spread Windows Forms 6.0 Product Documentation
TabStripButtonPolicy Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : TabStripButtonPolicy Enumeration


Glossary Item Box

Specifies the display policy for the tab strip buttons.

Syntax

Visual Basic (Declaration) 
Public Enum TabStripButtonPolicy 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As TabStripButtonPolicy
C# 
public enum TabStripButtonPolicy : System.Enum 

Members

MemberDescription
AlwaysAlways display the tab strip buttons
AsNeededDisplay the tab strip buttons only when needed
NeverDo not ever display the tab strip buttons

Example

C#Copy Code
fpSpread1.Sheets.Count = 3;
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.AsNeeded;
fpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded;
Visual BasicCopy Code
FpSpread1.Sheets.Count = 3
FpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.AsNeeded
FpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.TabStripButtonPolicy

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.