Spread Windows Forms 9.0 Product Documentation
TabStripButtonPolicy Enumeration
Example Example 


Specifies the display policy for the tab strip buttons.
Syntax
'Declaration
 
Public Enum TabStripButtonPolicy 
   Inherits System.Enum
'Usage
 
Dim instance As TabStripButtonPolicy
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
fpSpread1.Sheets.Count = 3;
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.AsNeeded;
fpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.AsNeeded;
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 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

FarPoint.Win.Spread Namespace
ButtonPolicy Property (TabStrip Class)

User-Task Documentation

Customizing the Sheet Name Tabs of the Component

 

 


Copyright © GrapeCity, inc. All rights reserved.