Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ImageButtonTheme Enumeration
Example Example

In This Topic
    ImageButtonTheme Enumeration
    In This Topic
    Specifies appearance style for the image button in the Spread component.
    Public Enum ImageButtonTheme 
       Inherits System.Enum
    Dim instance As ImageButtonTheme
    public enum ImageButtonTheme : System.Enum 
    ClassicSets the Classic theme to image buttons.
    NotSetDoes not set the theme to image buttons.
    Office2007Sets the Office2007 theme to image buttons.
    Office2016Sets the Office2016 theme to image buttons.
    VistaSets the Vista theme to image buttons.
    XpSets the Xp theme to image buttons.
    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


    See Also