Spread for ASP.NET 10 Product Documentation
ButtonType Property (PagerInfo)
Example 


Gets or sets the type of button on the pager of the Spread component.
Syntax
'Declaration
 
Public Property ButtonType As ButtonType
'Usage
 
Dim instance As PagerInfo
Dim value As ButtonType
 
instance.ButtonType = value
 
value = instance.ButtonType
public ButtonType ButtonType {get; set;}
Remarks
The theme does not apply if the pager mode is set to number.
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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

PagerInfo Class
PagerInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.