Spread for ASP.NET 8.0 Product Documentation
ImageButtonTheme Enumeration
Example Example 


Specifies appearance style for the image button in the Spread component.
Syntax
'Declaration
 
Public Enum ImageButtonTheme 
   Inherits System.Enum
'Usage
 
Dim instance As ImageButtonTheme
public enum ImageButtonTheme : System.Enum 
Members
MemberDescription
ClassicSets the Classic theme to image buttons.
NotSetDoes not set the theme to image buttons.
Office2007Sets the Office2007 theme to image buttons.
VistaSets the Vista theme to image buttons.
XpSets the Xp theme to image buttons.
Example
This example sets a theme for the command bar and pager icons.
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;
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.ImageButtonTheme

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

FarPoint.Web.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.