Spread for ASP.NET 7.0 Product Documentation
ButtonType Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PagerInfo Class : ButtonType Property


Glossary Item Box

Gets or sets the type of button on the pager of the Spread component.

Syntax

Visual Basic (Declaration) 
Public Property ButtonType As ButtonType
Visual Basic (Usage)Copy Code
Dim instance As PagerInfo
Dim value As ButtonType
 
instance.ButtonType = value
 
value = instance.ButtonType
C# 
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.
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 BasicCopy 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 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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.