Gets or sets the type of button on the command bar of the Spread component.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property ButtonType As ButtonType  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As CommandBarInfo
Dim value As ButtonType
 
instance.ButtonType = value
 
value = instance.ButtonType  | 
 
            
            
            Property Value
ButtonType setting that specifies how the buttons appear on the command bar
 
            
			
			
            Remarks
            
            
Example
This example sets a theme for the command bar and pager icons.
             
| C# |  Copy Code | 
|---|
FpSpread1.Sheets[0].RowCount = 20;
FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.NextPrev;
FpSpread1.CommandBar.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton;
FpSpread1.Pager.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton;
FpSpread1.CommandBar.Theme = FarPoint.Web.Spread.ImageButtonTheme.Xp;  | 
 
| Visual Basic |  Copy Code | 
|---|
FpSpread1.Sheets(0).RowCount = 20
FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.NextPrev
FpSpread1.CommandBar.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton
FpSpread1.Pager.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton
FpSpread1.CommandBar.Theme = FarPoint.Web.Spread.ImageButtonTheme.Xp  | 
 
 
            
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also